×
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
hamishwillee (Talk | contribs)
m (moved KIJ000693 - Comma character used as decimal point symbol instead of point character in some locales on S60 3rd Edition to [[Comma character used as decimal point symbol instead of point character in some locales on S60 3rd Edition (Known Is...)
lpvalente (Talk | contribs)
m (Lpvalente -)
Line 1: Line 1:
 
[[Category:Known Issue]][[Category:Java ME]][[Category:MIDP 1.0]][[Category:MIDP 2.0]][[Category:S60 3rd Edition (initial release)]]
 
[[Category:Known Issue]][[Category:Java ME]][[Category:MIDP 1.0]][[Category:MIDP 2.0]][[Category:S60 3rd Edition (initial release)]]
{{ArticleMetaData <!-- v1.2 -->
+
{{Archived|timestamp=20120420011254|user=[[User:Lpvalente|Lpvalente]]}}
 +
 
 +
 
 +
{{ArticleMetaData <!-- v1.2 -->
 
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
 
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
 
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
Line 27: Line 30:
  
 
==Overview==
 
==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.
+
{{Abstract|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.}}
  
 
==Description==
 
==Description==

Revision as of 04:12, 20 April 2012

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)
CompatibilityArticle
Created: User:Technical writer 2 (25 Jun 2007)
Last edited: lpvalente (20 Apr 2012)

Contents

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.

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.  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.

Solution

If "hardcoded" numbers are also used in, for example, calculations, they must use point instead of comma – otherwise an exception will be thrown.

97 page views in the last 30 days.
×