HP 3000 Manuals

INT [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

INT 

The INT function returns the largest integer that is less than or equal
to a specified number.  The result is of type INTEGER.

Syntax 

INT(n)

Parameters 

n                The number to be evaluated.  This argument can be of any
                 numeric type.

Examples 

     10 A = INT(4.5)   !A = 4
     20 B = INT(-0.3)  !B = -1



MPE/iX 5.0 Documentation