Loading

TODOUBLE


conversion
Since v1.0.0
Available on all platforms
See also

Converts a value of primitive type into a double value.

The TODOUBLE function consumes a parameter (BOOLEAN, LONG, DOUBLE, STRING) from the top of the stack and pushes back its conversion to double.

Signature

Examples

false TODOUBLE // 0.0 true TODOUBLE // 1.0 42 TODOUBLE // 42.0 -42 TODOUBLE // -42.0 3.14 TODOUBLE // 3.14 -3.14 TODOUBLE // -3.14 '24.54' TODOUBLE // 24.54 '-45.89' TODOUBLE // -45.89