Re: doubleValue (for an NSString)
Re: doubleValue (for an NSString)
- Subject: Re: doubleValue (for an NSString)
- From: Alastair Houghton <email@hidden>
- Date: Thu, 20 Mar 2008 23:47:23 +0000
On 20 Mar 2008, at 23:38, John Stiles wrote:
Localization concerns still apply in theory but in practice there
are few locales which don't use standard numeric characters.
Actually, well, I don't know if sscanf knows about using "," for the
decimal separator in Europe or not.
As long as you don't call setlocale(), you're using the C locale,
which means the behaviour should be the same everywhere.
It's only if you change to a different locale that the separator and
decimal point might change.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden