macros:Functions:sqr: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function square== Returns the square of a number. ===Usage=== <source lang="mtmacro" line> [h: num = square(num)] [h: num = sqr(num)] </source> ===Examples=== <...)
 
m (Conversion script moved page Macros:Functions:sqr to macros:Functions:sqr: Converting page titles to lowercase)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
==Function square==
#REDIRECT [[square]]
Returns the [[wp:Square_(algebra)|square]] of a number.
 
===Usage===
<source lang="mtmacro" line>
[h: num = square(num)]
[h: num = sqr(num)]
</source>
 
===Examples===
<source lang="mtmacro" line>
[r: square(5)]
[r: square(6)]
</source>
Returns
    25
    36

Latest revision as of 22:59, 9 February 2023

Redirect to: