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.

Math::Sqrt

Math::Sqrt(x): float

Calculates square root of x.

Table 1. Parameters

x

number

Input value

Return

Square root value.

println(Math::Sqrt(4.5)); // Will print "2.12132"