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
lsparsecurrency()
Example
lsparsecurrency(string string,[locale locale]):string
Category
currency,string,parsing
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 | locale | No | Locale to use instead of the locale of the page when processing the function |