Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNumberFormatter separator issue




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.