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

FLOAT

FLOAT returns the approximate floating-point value of x, with a precision specified by p. The result has the base and mode of x.

Read syntax diagramSkip visual syntax diagram>>-FLOAT(x-+----+-)--------------------------------------------><
           '-,p-'
 
x
Expression.
p
Restricted expression that specifies the minimum number of digits in the result.

If p is 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)