int
Syntax
int(X)
Arguments
X can be data of any types.
Details
Convert X to the data type of INT.
Examples
$ x=int();
$ x;
00i
$ typestr x;
INT
$ int(`10.9);
10
$ int(2147483647);
2147483647
$ int(2147483648);
00i
// the maximum value for an INT is 2^31-1=2147483647