log10: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 5: | Line 5: | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
[h: val = log(num)] | [h: val = log(num)] | ||
[h: val = log10(num)] | [h: val = log10(num)] | ||
</ | </syntaxhighlight> | ||
|example= | |example= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
[r: log(100)] | [r: log(100)] | ||
[r: log(1000)] | [r: log(1000)] | ||
</ | </syntaxhighlight> | ||
Returns | Returns | ||
2 | 2 |
Latest revision as of 20:09, 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