toLocaleString is part of that Internationalization API... therefore, not supported.
If you need to convert to a currency, you can use aqConvert.CurrencyToStr... I know that it's a number, but because this is not a strongly typed language, you can still pass your number to that converstion routine and it will convert it to a string formatted as a currency... you can also use aqConvert.CurrencyToFormatStr... now, it will still use your default location in your environment to determine the separators and such... To that end, you'll need to have the Locale set using SetLocaleInfo.
Robert Martin [Hall of Fame] Please consider giving a Kudo if I write good stuff ----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.