Re: API to convert string to number?
Re: API to convert string to number?
- Subject: Re: API to convert string to number?
- From: "I. Savant" <email@hidden>
- Date: Tue, 27 Feb 2007 16:41:39 -0500
NSScanner?
--
I.S.
On Feb 27, 2007, at 4:40 PM, E. Wing wrote:
I was wondering if there was a good Cocoa API to convert a string to a
float or double. I have been using strtod/strtof, but I noticed that
it doesn't handle commas and presumably other localization issues.
I've been avoiding scanf for safety issues.
Thanks,
Eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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