Decimal point issue on cocoa app
Posted
by Manuel Rocha
on Stack Overflow
See other posts from Stack Overflow
or by Manuel Rocha
Published on 2010-04-20T23:59:46Z
Indexed on
2010/04/21
0:03 UTC
Read the original article
Hit count: 652
I there, I'm trying making my first cocoa app, but I'm having problems with float numbers because of the regional settings.
If I write on the TextBox the float number 1.2 I only can get the number 1, but If I write on the same TextBox the same float number but this time with the ',' sign instead (1,2) I can get the right float value.
How can I bypass the regional settings?
Kind Regards, Manuel Rocha
© Stack Overflow or respective owner