Re: Zero-padding an NSNumberFormatter
Re: Zero-padding an NSNumberFormatter
- Subject: Re: Zero-padding an NSNumberFormatter
- From: John Stiles <email@hidden>
- Date: Tue, 9 Jan 2007 13:40:49 -0800
I hope you filed a radar. That can't be the expected behavior :)
On Jan 9, 2007, at 12:13 PM, Nick Zitzmann wrote:
On Jan 9, 2007, at 12:50 PM, Keary Suska wrote:
What happens when you use -setPositivePrefix: instead of
specifying in the
format?
I already tried that and the negative prefix, and the results were
even worse. "-+2++" turned into something like "-,," or something
like that.
I ended up working around the problem by formatting the number
using +[NSString stringWithFormat:] instead of NSNumberFormatter.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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:
40blizzard.com
This email sent to email@hidden
_______________________________________________
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