Last updated 20 days ago
Was this helpful?
Parses a currency value in to a numeric using the specified or context locale
LSParseCurrency converts a locale-specific currency string to a number.
Result: 120.5
<bx:output> #LSParseCurrency( 4.5 )#<br> #LSParseCurrency( "$4.50" )#<br> #LSParseCurrency( "£4.50", "English (UK)" )# </bx:output>
ParseCurrency(string=[string], locale=[string])
string
true
the value to be parsed
locale
false
the optional locale to apply in parsing
lsParseCurrency( "$120.50" );