Number/Currenct formatting by locale
pete at mollysrevenge.com
Mon Feb 28 18:48:17 CST 2011
Yeah, I've already got that stack. It does allow you to pass in a currency symbol (or maybe I adapted it to do that, don;t remember), but that doesn't help me. I don;t know what the correct currency symbol should be without either getting it from the user's OS preference settings or asking the user to specify it to my application as a preference. I'm hoping there's a way to get it from the OS preferences so users don;t have to specify it two different places.
On Feb 28, 2011, at 4:29 PM, Bob Sneidar wrote:
> Is that just for UK formats? Looks like it, but I might be missing something.
> On Feb 28, 2011, at 4:21 PM, Marty Knapp wrote:
>> 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:
>> 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
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode