Double flintmax >>

double


Converts a variable to double precision type.


Syntax


D = double(V)

Input argument


V

a variable.

Output argument


D

a double.

Description


double(V) converts to the double-precision type.

Examples


double('Nelson')

A = single(pi)
B = double(A)
B - A

A = ["3.134", "NaN"; "Inf", "-5"];
B = double(A)

See also


char, single, numeric types.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

Double flintmax >>