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

PRECISION

PRECISION returns the value of x, with a precision specified by p and q. The base, mode, and scale of the returned value are the same as that of x.

Read syntax diagramSkip visual syntax diagram>>-PRECISION(x,p-+----+-)--------------------------------------><
                 '-,q-'
 

Abbreviation: PREC

x
Expression.
p
Restricted expression. p specifies the number of digits that the value of the expression x is to have after conversion.
q
Restricted expression. It specifies the scaling factor of the result. For a fixed-point result, if q is omitted, a scaling factor of zero is assumed. For a floating-point result, q must be omitted.

Terms of use | Feedback

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