sqrt(X)

Returns the square root of the given value.

Syntax

sqrt(X)

Input

Argument Type Description
X integer or decimal A numeric value

Return Value

Returns a decimal number corresponding to the square root of X.

If X is a negative value, the result is N/A.

If X is N/A, the result is N/A.

Sample Usage

X sqrt(X)
-25 NA
-20.25 NA
4 2
20.25 4.5
25.0 5
NA NA