macros:Functions:log: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function log== Returns the logarithm of base 10 of a number. ===Usage=== <source lang="mtmacro" line> [h: val = log(num)] [h: val = log10(num)] </source>...)
 
m (Conversion script moved page Macros:Functions:log to macros:Functions:log: Converting page titles to lowercase)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Function log==
#REDIRECT [[log10]]
Returns the [[wp:Logarithm_of_the_base_10|logarithm of base 10]] of a number.
 
===Usage===
<source lang="mtmacro" line>
[h: val = log(num)]
[h: val = log10(num)]
</source>
 
 
===Examples===
<source lang="mtmacro" line>
[r: log(100)]
[r: log(1000)]
</source>
Returns
  2
  3

Latest revision as of 23:59, 9 February 2023

Redirect to: