On Apr 13, 2010, at 6:01 PM, Kyle Sluder wrote:

> Things like phone numbers, zip codes, and order numbers aren't really
> numbers. They're labels composed of digits. Numbers are typically
> useful for quantities, and that's where number formatters are
> appropriate. Custom formatters that convert from strings to strings
> are the more appropriate choice for telephone numbers and the like.

Kyle,

Even so, I converted the string to an NSNumber and used the formatter against a 
number, not a string.

I did something similar using the NSDateFormatter to convert dates, and that 
went very smooth. 
Used almost identical format functions except using dates, instead of numbers, 
and they worked as expected...

Puzzled ?

Bill Hernandez
Plano, Texas


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to