Lucee Function Reference

tonumeric()

Converts given value to a number

Example

tonumeric(any value,[any radix]):number

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
value any  Yes value that should be translated to a numeric value  
radix any  No the base for tranlation of the given value, default is 10, possible values are [2-36,bin,oct,dec,hex]