I would like to parse a number string using NSDecimalNumber's 
decimalNumberWithString:locale: method.

All number strings are in the "C" POSIX locale, e.g.:   "-1.002e-10"
What should I set for the locale parameter (which is a NSDictionary) if I want 
to use the "C" Posix locale (aka "en_US_POSIX" Cocoa locale)? Would be passing 
NULL for the dictionary choose the "C" locale - or would this possibly choose 
the "default locale"?


If I want optimal performance in parsing many of number strings, what would be 
the recommended approach to get NSDecimalNumbers?



Thanks for tips :)
Andreas_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to