type
Syntax
type(X)
Arguments
X can be any data type that the system supports.
Details
Return an integer indicating the data type of X. Please refer to Data Type for details.
Examples
$ x=3;
$ x;
3
$ type(x);
4
// INT
$ type(1.2);
16
// DOUBLE
$ type("Hello");
18
// STRING