Number/Currenct formatting by locale

Peter Haworth pete at
Mon Feb 28 19:08:23 EST 2011

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