Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


SQRT

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

The function type is numeric.

Format
Read syntax diagramSkip visual syntax diagram>>-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

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)