square

From RPTools Wiki
Jump to navigation Jump to search

square() Function

Returns the square of a number.

Usage

[h: num = square(num)]
[h: num = sqr(num)]

Examples

[r: square(5)]
[r: square(6)]

Returns

   25
36