Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function LSPARSENUMBER

Converts a string that is a valid numeric representation in
the current locale into a formatted number.

Example

lsparsenumber(string number,[locale locale]):number

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
number string  Yes A string or a variable that contains one  
locale locale  No Locale to use instead of the locale of the page when processing the function