Re: Retrieve local currency format ?
Re: Retrieve local currency format ?
- Subject: Re: Retrieve local currency format ?
- From: "Jim Thomason" <email@hidden>
- Date: Tue, 28 Aug 2007 15:10:05 -0500
Out of curiosity, is the field with the formatter bound to a value
using bindings?
I ran into this bug a few weeks back, and in my testing only had
problems when the field was bound to a value. If I unbound it, but
left the formatter in place, the formatting worked fine. So it looked
like it was some combination of the formatter, a foreign currency, and
bindings to me.
Here was my little test case, all in IB, no code necessary:
http://www.bassetsoftware.com/osx/datetest.zip
It would've been prohibitive for me to rip out bindings and replace
with non-bound fields, but it may work for you, assuming you also only
see the bug on a bound field.
-Jim.....
On 8/28/07, Eric MORAND <email@hidden> wrote:
>
> Le 28 août 07 à 07:27, mmalc crawford a écrit :
>
> > [currencyFormatter
> > setFormatterBehavior:NSNumberFormatterBehavior10_4];
>
> I've already tried this :
>
>
> [currencyFormatter setNumberStyle:NSNumberFormatterCurrencyStyle];
> [currencyFormatter setLocalizesFormat:YES];
>
> [currencyFormatter
> setFormatterBehavior:NSNumberFormatterBehavior10_4];
>
> And it doesn't work : every time I type a number greater than 999, I
> have a formatting error.
>
>
>
>
> Eric.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden