Sqrt function

Syntax

SQRT(n)

Description

Use the Sqrt function to calculate the square root of a number.

Parameters

Parameter Description

n

A number of which you want to find the square root.

Returns

Returns a number equal to the positive square root of n. If n is a negative number, Sqrt displays an error.

Example

The examples return 15, 4, and 8.42615, respectively:

&NUM = Sqrt(225);
&NUM = Sqrt(16);
&NUM = Sqrt(71);