Lucee Function Reference
parsenumber()
Parses the string argument as a numeric value.
Example
parsenumber(string number,[string radix]):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 | the String containing the numeric representation to be parsed |
radix | string | No | the radix to be used while parsing (bin,oct,dec,hex) |