(Difference between revisions)

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

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot change of template (Template:KnowledgeBase) - now using Template:ArticleMetaData)
hamishwillee (Talk | contribs)
m (Hamishwillee - Adding missing translation link)
Line 35: Line 35:
[[Category:Known Issue]]
[[Category:Known Issue]]
[[Category:Java ME]][[Category:MIDP 1.0]][[Category:MIDP 2.0]] [[Category:S60 3rd Edition]]
[[Category:Java ME]][[Category:MIDP 1.0]][[Category:MIDP 2.0]] [[Category:S60 3rd Edition]]
<!-- Translation --> zh-hans:S60第三版中在某些区域设置下使用了逗号而不是圆点作为小数点分隔符号

Revision as of 04:24, 15 December 2011


Article Metadata
Tested with
Devices(s): SW version(s)
Created: User:Technical writer 2 (25 Jun 2007)
Last edited: hamishwillee (15 Dec 2011)


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.

196 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.