| ID | KIJ000693 | Creation date | June 25, 2007 |
| Platform | S60 3rd Edition | Devices | SW version(s) |
| Category | Java | Subcategory | MIDP1.0/2.0 |
| Keywords (APIs, classes, methods, functions): |
When TextField.DECIMAL is used to enter numbers, the comma character is used on some devices/language variants as the decimal point symbol instead of the point character.
When the user enters numbers to a textField.DECIMAL-type textfield, some locales use the comma as the decimal pointer instead of the point. This can cause some confusion if it is not taken into consideration when writing applications.
Insert a text field of decimal type, enter a number, and try adding a decimal point.
If "hardcoded" numbers are also used in, for example, calculations, they must use point instead of comma – otherwise an exception will be thrown.
No related wiki articles found