• 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: NSDecimal localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDecimal localization


  • Subject: Re: NSDecimal localization
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 27 Dec 2004 01:57:00 -0500

Mark Dawson (email@hidden) on Fri, Dec 24, 2004 3:10 AM said:

>Is there ever a case where NSDecimal is NOT a unichar?  Its defined as
>a string, but the only two separators that I know of are the point and
>the comma.

NSDecimal is a struct, but I guess you mean NSDecimalSeparator.

Comma and period are the only two that seem to be used in real life
AFAIK.  However, the System Preferences > International > Formats >
Numbers UI allows you to use any* character, but does limit you to one
character.  So I think you should support any char, but I guess its safe
to assume only one, at least in 10.3 and earlier.

* OK, I didn't try them all. :)

--
Erroneous google translation: "To cook with the furnace approximately 15
minutes and to be useful."

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSDecimal localization (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: arbitrary date formats based on user prefs
  • Next by Date: Zooming, Bezier Paths and Affine Transforms
  • Previous by thread: NSDecimal localization
  • Next by thread: Re: NSDecimal localization
  • Index(es):
    • Date
    • Thread