math.e: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name=math.e |trusted=false |version=1.3.b48 (estimate) |description=Returns the [https://en.wikipedia.org/wiki/E_(mathematical_constant) mathematical constant...") |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
[h: e = math.e()] | [h: e = math.e()] | ||
</ | </syntaxhighlight> | ||
|examples= | |examples= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
[r: math.e()] | [r: math.e()] | ||
[r: math.log( math.e() )] | [r: math.log( math.e() )] | ||
</ | </syntaxhighlight> | ||
Returns: | Returns: | ||
<pre> | <pre> | ||
Line 22: | Line 22: | ||
}} | }} | ||
[[Category:Mathematical Function]] | [[Category:Mathematical Function]] | ||
[[Category:Mathematical Constants]] |
Latest revision as of 23:59, 14 March 2023
math.e() Function
• Introduced in version 1.3.b48 (estimate)
Returns the mathematical constant e to 16 significant digits. Takes no arguments.
Usage
[h: e = math.e()]
Examples
[r: math.e()]
[r: math.log( math.e() )]
Returns:
2.718281828459045 1.0