math.log: Difference between revisions
Jump to navigation
Jump to search
(Updated to use math.e()) |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
1.0 | 1.0 | ||
</pre> | </pre> | ||
|also= | |||
<code>[[math]]</code> | |||
}} | }} | ||
[[Category:Mathematical Function]] | [[Category:Mathematical Function]] | ||
[[Category:Logarithmic]] |
Revision as of 04:14, 20 June 2021
math.log() Function
• Introduced in version 1.3.b48 (estimate)
Find the natural logarithm of a number. A non-numeric argument will produce an error.
Usage
[h: result = math.log(num)]
Examples
[r: math.log(1)]
[h: e = math.e()]
[r: math.log(e)]
Returns:
0 1.0