This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

sqrt()

Deprecated in 5.0.

Please use Math::Sqrt instead.

sqrt(input): float

Gets square root from number.

Table 1. Parameters

input

Number

Input number.

Return

Square root value.

>>> sqrt(4)
2.0