• 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: Eric MORAND <email@hidden>
  • Date: Tue, 28 Aug 2007 07:15:25 +0200


In what way does NSNumberFormatter not work? Have you made sure that the "localizes format" option is enabled?
`

There is a well-known bug that makes NSnumberFormatter unusable in non-english version of MacOS X. Is I instanciate and setup a formatter as below...



NSNumberFormatter * currencyFormatter = [[[NSNumberFormatter alloc] init] autorelease];

[currencyFormatter setNumberStyle:NSNumberFormatterCurrencyStyle];
[currencyFormatter setLocalizesFormat:YES];


...the numbers are displayed and formatted correctly but the formatter returns an error when the user type a number greater than 999.



Eric.


Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

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: mmalc crawford <email@hidden>
References: 
 >Retrieve local currency format ? (From: Eric MORAND <email@hidden>)
 >Re: Retrieve local currency format ? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Clarification on mmalc controller website text
  • 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