double

Syntax

double(X)

Arguments

X can be of any data type.

Details

Convert the input to the data type of DOUBLE.

Examples

// create a DOUBLE variable with default value 0
x=double();
x;
// output
00F
typestr x;
// output
DOUBLE

typestr double(`10);
// output
DOUBLE

double(`10.9);
// output
10.9

double(now());
// output
5.297834e+011