Loading

TODOUBLE

conversion

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.

TODOUBLE is available since version 1.0.0.

See also

Signatures

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