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: Currency Numbers



On Jun 22, 2006, at 3:58 PM, Carlos Ysunza wrote:

I follow with interest all this solutions, and learn a lot, of all of them, but I wonder why use “(0.0 as text)'s character 2” and not simply use the dot character as in my own version? Is there any reason that I can’t see?

The decimal "point" isn't a period in all locales -- for instance, in France they use a comma. Because "0.0 as text" uses the localized number format to create the string, you get the localized decimal point. Whether or not you care depends on how widely you expect your script to be distributed.



--Chris Nebel AppleScript Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Re: Currency Numbers (From: Carlos Ysunza <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.