Skip to Main Content Skip to Search
Product 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.

Tips

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

  


» Learn more
» Download free kit
» Get trial software

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS