Table of Contents

sqrt

Description

Calculate the square root of a number.

Function prototype

double sqrt <double:value>

Arguments

Name Type Comment
value double A number, the square root of which is to be calculated.

Return value

The square root of the value provided, in double-precision.

Example

echo <zs:sqrt 9> // sqrt(9) = 3

… the output of which is written to the event log by echo as:

3

Comments

None.

See also