Sqrt

Contents

Description

The sqrt(x) function returns the square root of positive value x. Returns missing value if x is negative.

Syntax

double sqrt(double x)

Parameter

x

is the value you want to get the square root.

Return

Returns the square root of value x.

Example

aa = sqrt(5);
aa = ; //2.2360679774998