On 5/31/08 10:35 PM, Michael Vannorsdel said:
Basically NSString's floatValue and doubleValue methods only work when
the numbers use the US style dot separator (as opposed to other locale
separators such as a comma). If your NSString might contain non-US
separators (or other formatting
On May 31, 2008, at 9:35 PM, Michael Vannorsdel wrote:
Basically NSString's floatValue and doubleValue methods only work
when the numbers use the US style dot separator (as opposed to other
locale separators such as a comma). If your NSString might contain
non-US separators (or other
Basically NSString's floatValue and doubleValue methods only work when
the numbers use the US style dot separator (as opposed to other locale
separators such as a comma). If your NSString might contain non-US
separators (or other formatting differences) you'll have to use
NSScanner to do
Hello List,
I'm having troubles deciphering the documentation. I have doubles
stored in a text file which always use the dot . as decimal
separator. When converting the strings to doubles the conversion to be
locale independent. The NSString:doubleValue documentation says:
This method