×
Namespaces

Variants
Actions
(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
Forum Nokia KB (Talk | contribs)
m
Forum Nokia KB (Talk | contribs)
m
Line 47: Line 47:
 
   
 
   
 
|-
 
|-
[[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]]

Revision as of 13:21, 29 August 2007

Template:KBTS

Subject:

Comma character used as decimal point symbol instead of point character in some locales on S60 3rd Edition TSJ000693

 

Platform(s): Device(s), SW version(s):
S60 3rd Edition  

Category:

Java

Subcategory:

MIDP1.0/2.0

Description:

Overview:
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.
Detailed description:
When the user enters numbers to a textField.DECIMAL-type textfield, some locales use the comma as the decimal pointer instead of the point. It must be noticed that if "hardcoded" numbers are also used in, for example, calculations, they must use point instead of comma – otherwise an exception will be thrown.  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.

Creation date:

June 25, 2007

Last modified:

-
203 page views in the last 30 days.
×