Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

FLOOR

FLOOR returns the largest integer value less than or equal to x.

Read syntax diagramSkip visual syntax diagram>>-FLOOR(x)----------------------------------------------------><
 
x
Real expression.

The mode, base, scale, and precision of the result match the argument. Except when x is fixed-point with precision (p,q), the precision of the result is given by:

  (min(n,max(p-q+1,1)),0)

where n is the maximum number of digits allowed and is N for FIXED DECIMAL or M for FIXED BINARY.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)