• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Retrieve local currency format ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Retrieve local currency format ?
      • From: Eric MORAND <email@hidden>
References: 
 >Retrieve local currency format ? (From: Eric MORAND <email@hidden>)
 >Re: Retrieve local currency format ? (From: Alastair Houghton <email@hidden>)
 >Re: Retrieve local currency format ? (From: Eric MORAND <email@hidden>)
 >Re: Retrieve local currency format ? (From: mmalc crawford <email@hidden>)
 >Re: Retrieve local currency format ? (From: Eric MORAND <email@hidden>)

  • Prev by Date: Re: Retrieve local currency format ?
  • Next by Date: Re: Retrieve local currency format ?
  • Previous by thread: Re: Retrieve local currency format ?
  • Next by thread: Re: Retrieve local currency format ?
  • Index(es):
    • Date
    • Thread