Cast a value to a number.
toNumeric(value [, radix])
returns numeric
Name | Type | Required | Default | Description | Values | |
---|---|---|---|---|---|---|
value | any | Yes | ||||
radix | any | No | 10 | The base of the value. | /Users/garethedwards/development/github/cfdocs/docs/functions/tonumeric.md | hex |
toNumeric("29.5")
toNumeric("FF0011", "hex")
toNumeric("1010", "bin")