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

FIXED

FIXED returns the fixed-point value of x, with a precision specified by p and q. The result has the base and mode of x.

Read syntax diagramSkip visual syntax diagram>>-FIXED(x-+-----------+-)-------------------------------------><
           '-,p-+----+-'
                '-,q-'
 
x
Expression.
p
Restricted expression that specifies the total number of digits in the result. It must not exceed the implementation limit.
q
Restricted expression that specifies the scaling factor of the result. If q is omitted, a scaling factor of zero is assumed.

If both p and q are omitted, the precision of the result is determined from the rules for base conversion.


Terms of use | Feedback

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