macros:Functions:sqrt: Difference between revisions

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

Latest revision as of 22:59, 9 February 2023

Redirect to: