SQRT Function

Returns the square root of a value.

Category: Mathematical

Syntax

SQRT(argument)

Required Argument

argument

specifies a numeric constant, variable, or expression. Argument must be nonnegative.

Example

The following SAS statements produce these results.
SAS Statement
Result
x=sqrt(36);
6
x=sqrt(25);
5
x=sqrt(4.4);
2.0976176963