INT( ) |
Return Integer Portion |
INT(num[,ERR=stmtref])
Where:
num |
Numeric expression whose integer portion is to be returned. |
stmtref |
Program line number or statement label to which to transfer control. |
Integer portion of numeric value.
The INT( ) function returns the integer portion of the value specified. No rounding is performed on the value. The fractional part of the value is truncated.
A=int(3.23) ! yields A=3
A=int(-5.6) ! yields A=-5
A=int(.9999) ! yields A=0