SQRT: Calculating the Square Root

How to:

The SQRT function calculates the square root of a number.


Top of page

x
Syntax: How to Calculate the Square Root
SQRT(in_value)

where:

in_value

Numeric

Is the value for which the square root is calculated. If you supply an expression, use parentheses as needed to ensure the correct order of evaluation. If you supply a negative number, the result is zero.

Note: SQRT does not use an output argument. The result of the function is floating-point double precision.



Example: Calculating the Square Root

SQRT calculates the square root of LISTPR.

SQRT(LISTPR)

For 19.98, the result is 4.47.

For 14.98, the result is 3.87.


iWay Software