log10: Difference between revisions
Jump to navigation
Jump to search
(Redirecting to Macros:Functions:log) |
Verisimilar (talk | contribs) m (Added Macro Function category.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | |||
|name=log10 | |||
|description= | |||
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> | |||
|example= | |||
<source lang="mtmacro" line> | |||
[r: log(100)] | |||
[r: log(1000)] | |||
</source> | |||
Returns | |||
2 | |||
3 | |||
}} | |||
[[Category:Mathematical Function]] |
Revision as of 02:58, 9 March 2009
log10() Function
Returns the logarithm of base 10 of a number.
Usage
[h: val = log(num)]
[h: val = log10(num)]
Example
[r: log(100)]
[r: log(1000)]
Returns
23