Documentation

double

Convert to double precision

Syntax

double(x)

Description

double(x) returns the double-precision value for X. If X is already a double-precision array, double has no effect.

More About

expand all

Tips

The double function should be overloaded for any object when it makes sense to convert it to a double-precision value.

Was this topic helpful?