Visual RPG 9.0 Language Reference  

%SQRT Function (Square Root of Expression)

%SQRT built-in function returns the square root of the numeric expression.

%SQRT (Numeric_Expression)

Parts

Numeric_Expression

Required. The valid numeric expression for which the square root will be returned.

Remarks

If the numeric expression is of type float, the result will be also; otherwise the result is packed decimal numeric.

See Also

Built-in Function Overview
SQRT Operation