squareroot

From RPTools Wiki
Jump to navigation Jump to search

squareroot() Function

Returns the square root of a number.

Usage

[h: num = squareroot(num)]
[h: num = sqrt(num)]

Example

[r: squareroot(9)]
[r: squareroot(81)]

Returns

   3
9