Re: string to float
Re: string to float
- Subject: Re: string to float
- From: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 4 Jul 2008 17:40:33 +0200
Le 4 juil. 08 à 17:15, Robert Cerny a écrit :
Hi folks,
I made a parser, which returns values like 10,45. It means, it has
comma as a decimal point delimiter, which is correct in my language.
I was trying to find a way to convert to NSNumber. Is it correct the
the right way is to use NSScanner?
Robert
I don't remember if NSScanner properly handle locale, but at least,
NSNumberFormatter do it well.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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