Converts any value to a number

Parameters

value * (required) - a value to convert to a number

Returns

Number

Examples

NUM('12')

// returns 12
NUM(12)

// returns 12
NUM('a')

// returns NaN