sqrt

Synopsis

$ sqrt(n)

Calculate the rounded positive square root value of the argument.

Parameters

n - the value (converted to a double) to apply this function to.

Returns

A double scalar.

Examples

$result = sqrt(16); println("sqrt(16) is $result");

sqrt(16) is 4.0

See Also