Sqr(x:Num):Num
Sqrt(x:Num):Num

Square root. Returns the square root of its argument, i.e. a number that, when multiplied by itself, returns the argument again. Square roots are defined for non-negative values only.

If the parameter is EMPTY, returns EMPTY.

This function can be used to compute distances using the Pythagorean theorem:

   dist := Sqrt(xDisplacement^2 + yDisplacement^2)

Note that PCC also offers a Distance function.

Since: PCC 0.98.3, PCC2 1.99.8