API to convert string to number?
API to convert string to number?
- Subject: API to convert string to number?
- From: "E. Wing" <email@hidden>
- Date: Tue, 27 Feb 2007 13:40:29 -0800
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:
This email sent to email@hidden