ToNumeric

Cast a value to a number.

Method Signature

ToNumeric(value=[string], radix=[any])

Arguments

Argument
Type
Required
Description
Default

value

string

true

The value to cast.

radix

any

false

The radix to use when casting the value. Valid values are 2-36, "bin", "oct", "dec", and "hex".

Examples

Last updated

Was this helpful?