Re: Problem with NSNumberFormatterCurrencyStyle on table cell
Re: Problem with NSNumberFormatterCurrencyStyle on table cell
- Subject: Re: Problem with NSNumberFormatterCurrencyStyle on table cell
- From: "Tony S. Wu" <email@hidden>
- Date: Tue, 4 Apr 2006 22:54:03 -0700
correction, the problem only comes up when
[numberFormatter setFormatterBehavior: NSNumberFormatterBehavior10_4];
[numberFormatter setNumberStyle: NSNumberFormatterCurrencyStyle];
are called together.
if i comment out either one, it'll work.
but then the currency symbol would be gone.
Tony S. Wu
email@hidden
On Apr 4, 2006, at 10:48 PM, Tony S. Wu wrote:
i have a table column that is bound to an array controller.
the table column is set with a NSNumberFormatter with its number
style set as NSNumberFormatterCurrencyStyle.
whenever i try to edit that column, a sheet will pop up and tell me
there is a formatting error.
if i remove the line where the number style is set, everything
works fine.
what is the problem, and how may i fix it?
thanks.
Tony S. Wu
email@hidden
_______________________________________________
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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