function double

Return a value cast to double

Syntax
result = double(x)

Arguments
x:   If of any numeric type, cast to double. If a complex number, the real part. If a string, interpreted as number. If a matrix, set the type to R8.