Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Comma character used as decimal point symbol instead of point character in some locales on S60 3rd Edition (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Tested with
Devices(s): SW version(s)
Created: User:Technical writer 2 (25 Jun 2007)
Last edited: hamishwillee (14 Aug 2013)



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.

How to reproduce

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.

This page was last modified on 14 August 2013, at 06:21.
82 page views in the last 30 days.