Textfields require period for calculations on non-US builds

My app has TextField inputs where users enter in say, “4.311” for calculations. I thought on non-US keyboards and systems it would automatically handle “4,311” but apparently that’s not the case.

How do I force my app to accept a “,” as a “,” on non US keyboards?


use ToDouble for converting data for input and output of user data.

For “input” you can set a validation mask as “9999999.99”, and the system will use comma or dot as demanded by the current locale.

Then you can read its value as

Var enteredVal As Double = me.Text.ToDouble