CurrencyFormat
Method Signature
CurrencyFormat(number=[any], type=[string], locale=[string])Arguments
Argument
Type
Required
Description
Default
Examples
Tag Example
<!--- loop through list of locales; show currency values for 100,000 units --->
<bx:loop LIST="#Server.BOXLANG.SUPPORTEDLOCALES#" index="locale" delimiters=",">
<bx:set oldlocale = setLocale( locale ) >
<bx:output><p><b><I>#locale#</I></b>
Local: #lsCurrencyFormat( 100000, "local" )#
International: #lsCurrencyFormat( 100000, "international" )#
None: #lsCurrencyFormat( 100000, "none" )#
<hr noshade>
</bx:output>
</bx:loop>Script Example using specific locale
Additional Examples
Related
Last updated
Was this helpful?
