The SQRT function returns the square root of X .

Calling Sequence

Result = SQRT( X )



The value for which the square root is desired. If X is double-precision floating-point or complex, the result is of the same type. All other types are converted to single-precision floating-point and yield floating-point results. When applied to complex numbers, z = x + iy :

The ambiguous sign is taken to be the same as the sign of y . The result has the same structure as X .


To find the square root of 145 and store the result in variable S, enter:

S = SQRT(145)

See Also

Exponentiation .