Re: NSNumberFormatter not working for me ?
Re: NSNumberFormatter not working for me ?
- Subject: Re: NSNumberFormatter not working for me ?
- From: Jens Alfke <email@hidden>
- Date: Tue, 13 Apr 2010 14:55:51 -0700
On Apr 13, 2010, at 2:49 PM, Keary Suska wrote:
You are asking the NSNumberFormatters to format a string, which it
does not do (hence the class name).
No he isn't. Viz:
NSInteger theInt = [aNumberString intValue];
NSNumber *theNum = [NSNumber numberWithInt:theInt];
NSString *theString = (NSString *)[numberFormatter
stringFromNumber:theNum];
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden