| System Functions |
|
| Format | 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. | |
| Returns | Integer portion of numeric value. | |
| Description | 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. | |
| Examples | A=INT(3.23) ! yields A=3 A=INT(-5.6) ! yields A=-5 A=INT(.9999) ! yields A=0 |
|