isdouble

Determine whether input is double-precision data type

Syntax

y = isdouble(a)
y = isdouble(T)

Description

y = isdouble(a) returns 1 when the DataType property of fi object a is double, and 0 otherwise.

y = isdouble(T) returns 1 when the DataType property of numerictype object T is double, and 0 otherwise.

Was this topic helpful?