• 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: NSNumberFormatter separator issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNumberFormatter separator issue


  • Subject: Re: NSNumberFormatter separator issue
  • From: mmalc crawford <email@hidden>
  • Date: Thu, 29 Mar 2007 16:46:51 -0700


On Mar 29, 2007, at 2:40 PM, Keith Blount wrote:

1. The user enters, say, 1000, and clicks okay.
2. Everything is fine - the target word count is set to 1000.
3. The user opens up the sheet containing the text field. The text field reads, "1,000" - that is, it shows the comma thousands separator, as it should.
4. Without changing anything, the user clicks, "OK" to confirm.
5. Now, the "1,000" gets changed to "1". It is as though the number formatter reads the comma for decimal point, even though the formatter placed the comma there in the first place.


What version of the OS are you using?
How did you configure the formatter?
What is the current locale?

And in general, if this is 10.4+ why are you explicitly setting the the separator rather than using a given style (which will adopt the user's preference)?

mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >NSNumberFormatter separator issue (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: NSConnection, NSSocketPort, and timeouts
  • Next by Date: Re: NSImage question
  • Previous by thread: NSNumberFormatter separator issue
  • Next by thread: Re: NSNumberFormatter separator issue
  • Index(es):
    • Date
    • Thread