Converts a locale-specific currency string into a formatted
number. Attempts conversion by comparing the string with each
the three supported currency formats (none, local,
international) and using the first that matches.
Lucee Function Reference
Function LSPARSECURRENCY
Example
lsparsecurrency(string string,[string locale]):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
string | string | Yes | A locale-specific string |
locale | string | No | Locale to use instead of the locale of the page when processing the function |