Re: Formatting a set of NSDecimalNumber values
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