Previous Page | Next Page

Functions and CALL Routines

SQRT Function



Returns the square root of a value.
Category: Mathematical

Syntax
Arguments
Examples

Syntax

SQRT(argument)


Arguments

argument

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


Examples

SAS Statements Results
x=sqrt(36);
6
x=sqrt(25);
5
x=sqrt(4.4);
2.0976176963

Previous Page | Next Page | Top of Page