• 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: Formatting a set of NSDecimalNumber values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatting a set of NSDecimalNumber values


  • Subject: Re: Formatting a set of NSDecimalNumber values
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 10 Aug 2012 11:33:01 -0700

On Fri, Aug 10, 2012, at 11:05 AM, Sixten Otto wrote:
> On Fri, Aug 10, 2012 at 10:46 AM, Kyle Sluder <email@hidden> wrote:
> > Don't forget bout languages where numbers read right-to-left.
>
> Like which? (I had, shamefully, completely forgotten r-t-l text in
> this scheme. But some casual googling leads me to believe that Hebrew
> and Arabic, at least, write numbers in big-endian form like English.)

Hmm, it looks like my understanding might've been mistaken. Even the
Unicode Bidi Algorithm doesn't seem to handle any cases other than
European or Arabic numerals, and it treats both of them the same
directionally.

Regardless, after you've aligned your cells by decimal point, you
probably want to left-align the block of them if you're in an RTL
interface.

>
> And while we're poking holes in this idea of mine, are there any iOS
> localizations that use non-Arabic numerals? :-)

I haven't looked. Perhaps someone else knows?

--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

References: 
 >Formatting a set of NSDecimalNumber values (From: Sixten Otto <email@hidden>)
 >Re: Formatting a set of NSDecimalNumber values (From: Jens Alfke <email@hidden>)
 >Re: Formatting a set of NSDecimalNumber values (From: Kyle Sluder <email@hidden>)
 >Re: Formatting a set of NSDecimalNumber values (From: Sixten Otto <email@hidden>)

  • Prev by Date: Re: filtering the values in an NSTableColumn
  • Next by Date: Re: filtering the values in an NSTableColumn
  • Previous by thread: Re: Formatting a set of NSDecimalNumber values
  • Next by thread: Re: Formatting a set of NSDecimalNumber values
  • Index(es):
    • Date
    • Thread