log10: Difference between revisions
Jump to navigation
Jump to search
(Redirecting to Macros:Functions:log) |
No edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{MacroFunction | |||
|name=log10 | |||
|description= | |||
Returns the [[wp:Logarithm_of_the_base_10|logarithm of base 10]] of a number. | |||
|usage= | |||
<syntaxhighlight lang="mtmacro" line> | |||
[h: val = log(num)] | |||
[h: val = log10(num)] | |||
</syntaxhighlight> | |||
|example= | |||
<syntaxhighlight lang="mtmacro" line> | |||
[r: log(100)] | |||
[r: log(1000)] | |||
</syntaxhighlight> | |||
Returns | |||
2 | |||
3 | |||
}} | |||
[[Category:Mathematical Function]] |
Latest revision as of 23:59, 15 March 2023
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