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 (Redirected to log10)
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

Revision as of 02:59, 9 March 2009

Redirect to: