type()

Returns the type of the data

Syntax
y = type(x)

Arguments
Name Description Range Type Required
x data to find the type (-∞, ∞) integer, real, complex, string yes

Examples

a = type(1)
returns "Integer"
a = type(1.1)
returns "Real"
a = type(1i)
returns "Complex"
a = type("type")
returns "String"

Defined in

Built in

See Also

what()

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources