Re: Zero-padding an NSNumberFormatter
Re: Zero-padding an NSNumberFormatter
- Subject: Re: Zero-padding an NSNumberFormatter
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 9 Jan 2007 13:13:22 -0700
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:
This email sent to email@hidden