squareroot

From RPTools Wiki
Revision as of 04:49, 9 March 2009 by Verisimilar (talk | contribs) (Applied Template:MacroFunction)
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