On Dec 10, 2010, at 9:06 PM, WT wrote:

> Note that the scanner returns the wrong result when the string to be parsed 
> contains a '.' but I can't see why.

NSScanner doesn't understand group separators, regardless of locale.  You want 
to look into NSNumberFormatter.

Cheers,
Ken

_______________________________________________

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