The [locale-formatAs] method us used to format the output of various values in the format of the locale.
This method has several sets of parameters that may accept for formatting.
locale->formatAs(decimal, 'keyword')
locale->formatAs( integer )
Use the [locale->formatAs] method.
The following example outputs a large integer and a currency value in the format expected in Germany.
Code
local( myLocale = locale_germany)
#myLocale->formatAs(29.99, 'currency')+'\n'
#myLocale->formatAs(34596003)+'\n'
Result
29,99 € 34.596.003
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments