Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 05-27-2010, 10:35 AM   #44 (permalink)
idevbooks
Registered Member
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 16
idevbooks is on a distinguished road
Default The dot is not always a dot

Many countries use a comma as a decimal separator.

There is a Wikipedia article about this: Decimal separator - Wikipedia

You can find out in code, what the decimal separator currently is:

NSLocale *currentUsersLocale;
currentUsersLocale = [NSLocale currentLocale];
NSString *decimalSeparator = [currentUsersLocale objectForKey:NSLocaleDecimalSeparator];

Then you would also need two more graphics:

commaHighlighted.png
commaNormal.png
idevbooks is offline   Reply With Quote
 

» Advertisements
» Online Users: 486
17 members and 469 guests
baja_yu, Chickenrig, djbrooks111, habitatus, hiinnovation, iconomania, jbro, JMLdev, Kieren Harrold, Kirkout, muhimranss, nestochi, Paul Slocum, simplymuzik3, toolifog, tranvutuan, za1407
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,549
Threads: 94,077
Posts: 402,721
Top Poster: BrianSlick (7,990)
Welcome to our newest member, JMLdev
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:31 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.