How can I stop NSNumberFormatter (via Pallet) from always rounding to two decimal places?
How can I stop NSNumberFormatter (via Pallet) from always rounding to two decimal places?
- Subject: How can I stop NSNumberFormatter (via Pallet) from always rounding to two decimal places?
- From: "Frederick C. Lee" <email@hidden>
- Date: Sun, 13 Mar 2005 10:53:09 -0800
Greetings:
The default NSNumberFormatter from the pallet always insists on having
ONLY two-digit decimals.
For Example:
Input: 12345.6789
Format Pattern: ###,###,###,###,##0.#####
Output: 12,345.68
Desired output: 12,345.6789
That pattern doesn't seem to have much influence.
How can I just put commas in, without ROUNDING?
Regards,
Ric.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden