On Feb 27, 2011, at 13:42, jonat...@mugginsoft.com wrote:

> [self.formatter setMaximumFractionDigits:3];
> [self.formatter setMinimumFractionDigits:3];

The documentation describes these as affecting "input" to the number formatter, 
which presumably means strings being interpreted as numbers, and not numbers 
being formatted as strings.

> I also tried call -setMaximumSignificantDigits:4 but this did not seem to 
> improve the situation. 

This one does seem to be for output, not input. Did you also 
'setUsesSignificantDigits:YES'? It looks like that's necessary.


_______________________________________________

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