Convert an object to double precision
The double function typecasts an object x to double
precision. For example, if x is an array of integers, an
array of double types will be returned. If an object cannot be
converted to Double_Type, a type-mismatch error will result.
The double function is equivalent to the typecast operation
typecast (x, Double_Type)
To convert a string to a double precision number, use the atof
function.
- slangrtl
-
_slang_guess_type,
_typeof,
atof,
int,
integer,
isdigit,
set_float_format,
sscanf,
string,
tolower,
toupper,
typecast,
typeof
|