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

ROUND

ROUND of FIXED
ROUND of IEEE decimal floating point
ROUND of IEEE binary floating point
ROUND of IBM hexadecimal floating point

ROUND returns the value of x rounded at a digit specified by n. The result has the mode, base, and scale of x.

Read syntax diagramSkip visual syntax diagram>>-ROUND(x,n)--------------------------------------------------><
 
x
Real expression. If x is negative, the absolute value is rounded and the sign is restored.
n
Optionally-signed integer. It specifies the digit at which rounding is to occur.

Terms of use | Feedback

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