Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Language Reference


SQRT

The SQRT function returns a numeric value that approximates the square root of the argument specified.

The function type is numeric.

Read syntax diagramSkip visual syntax diagram
Format

>>-FUNCTION SQRT--(--argument-1--)-----------------------------><

argument-1
Must be class numeric. The value of argument-1 must be zero or positive.

The returned value is the absolute value of the approximation of the square root of argument-1.


Terms of use | Feedback

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