Number/Currenct formatting by locale

Marty Knapp martyknapp at comcast.net
Mon Feb 28 19:21:48 EST 2011


There's a stack called Accountancy Format that won't help you get the 
user info, but may be of some other use for you:

<http://revonline2.runrev.com/stack/294/accountancyFormat%28%29>

Marty Knapp
> I found answers to my earlier post regarding formatting of dates and times per the user's OS preferences but I'm still trying to figure out how to do it for numbers and currency values.  I need to know the thousands separator character, the decimal character, and the currency character (and whether it goes before the currency or after it)  This is all on a Mac.
>
> I'm sure there are folks out there who have written software that is used in different countries - how do you deal with this?  I could users put their preferences into my app but it seems such a waste when they've already defined it to the OS.
>
>
> Pete Haworth
>




More information about the Use-livecode mailing list