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

ABS

ABS returns the absolute value of x. It is the positive value of x.

Read syntax diagramSkip visual syntax diagram>>-ABS(x)------------------------------------------------------><
 
x
Expression.

The mode of the result is REAL. The result has the base, scale, and precision of x, except when x is COMPLEX FIXED(p,q). In the latter case, the result is REAL FIXED(min(n,p+1),q) where n is N for DECIMAL and M for BINARY.


Terms of use | Feedback

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