|MATLAB Function Reference|
Convert to double-precision
returns the double-precision value for
X is already a double-precision array,
double has no effect.
double is called for the expressions in
while loops if the expression isn't already double-precision.
double should be overloaded for any object when it makes sense to convert it to a double-precision value.