Re: Thousands separators added to number fields
Re: Thousands separators added to number fields
- Subject: Re: Thousands separators added to number fields
- From: Kyle Sluder <email@hidden>
- Date: Fri, 10 Aug 2012 13:28:24 -0700
On Fri, Aug 10, 2012, at 01:17 PM, James Merkel wrote:
> > As of 10.8, it looks like thousands separators are automatically added to numbers displayed in text boxes.
> > Can this be disabled? In some places it doesn't make sense like in a display of a year.
>
> Ok, I see from:
> https://developer.apple.com/library/mac/#releasenotes/CoreFoundation/CoreFoundation.html
> that +[NSString localizedStringWithFormat:] which I am using now adds the
> thousands separators. I don't see a way around this.
Aside from attaching an NSNumberFormatter to the text field?
--Kyle Sluder
_______________________________________________
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