squareroot
squareroot() Function
Returns the square root of a number.
Usage
[h: num = squareroot(number)]
[h: num = sqrt(number, precision)]
Parameters
number
- Value to determine the square root of.precision
- Number of decimal points. Defaults to 10.
Example
[r: squareroot(9)]
[r: squareroot(80)]
[r: sqrt(10,2)]
Returns
3
8.9442719100
3.16