Lucee Function Reference

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

Category

number,string,parsing

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