Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 06:39, 9 January 2008.

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

From Forum Nokia Wiki


Subject:

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

 

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

Creation date:

June 25, 2007

Last modified:

-
Related Discussions
Thread Thread Starter Forum Replies Last Post
floating point vs fixed point math DanielMD Mobile Java General 9 2004-03-24 18:21
Plea for Link Errors:Porting Code from Fp3 to 3rd Edition mateen_maldar Symbian User Interface 3 2006-05-17 06:26
Character codes for NOKIA 6630 mario44445 General Discussion 1 2007-09-19 09:49
urgent help one platformrequest!!! mengpek84 Mobile Java Networking & Messaging & Security 4 2007-05-04 07:02
Arabic conversion from TDes16 to TDes8 AbuElElla General Symbian C++ 24 2008-04-17 15:24
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX