HP 3000 Manuals

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


HP Business BASIC/XL Reference Manual

FRACT 

The FRACT function returns the fractional part of a number.  The result
can be of type REAL, SHORT REAL, DECIMAL, or SHORT DECIMAL.

Syntax 

FRACT(n)

Parameters 

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

Examples 

     10 A = FRACT(2.7)   !A = .7
     20 B = FRACT(45)    !B = 0



MPE/iX 5.0 Documentation