JavaScript Editor js editor     Web development 



Main Page

Returns the square root of the specified numeric expression.

SQRT(nExpression)

Parameters

nExpression


Specifies the numeric expression SQRT(В ) evaluates. nExpression cannot be negative.

Return Value

Numeric

Remarks

The number of decimal places in the value returned by SQRT(В ) is the larger of the current decimal place setting and the number of decimal places contained in nExpression. The current decimal place setting is specified with SET DECIMALS.

Example

В Copy Code
CLEAR
? SQRT(4)  && Displays 2.00
? SQRT(2*SQRT(2))  && Displays 1.68

See Also



JavaScript Editor js editor     Web development