UITextField keyboard difference between simulator and real device
Posted
by Raphael Pinto
on Stack Overflow
See other posts from Stack Overflow
or by Raphael Pinto
Published on 2010-03-29T15:51:58Z
Indexed on
2010/03/29
15:53 UTC
Read the original article
Hit count: 407
Hi, I am trying get float value with UITextField. On the simulator V3.1.3 in English, I have to use '.' to separate my float values. But on my Iphone 3GS V3.1.3 in French, I have to use ',' to separate them. If I use '.' on my Iphone 3GS, my float is troncated : 3.22222 => 3.0000000
Is there a solution to detect the language version and use the good separator automaticaly?
© Stack Overflow or respective owner