$sqrt

Calculates the square root of a number.

Syntax

$sqrt(number)

Parameters

number

a positive number or an expression that evaluates to a positive number

Return Value

Number, with the same number of decimal places as number.

Example

$sqrt (100)

The above expression means "the square root (in base 10) of 100" and evaluates to 10.

 

Related Topics