E: Difference between revisions

From PenguinMod Wiki
E
Jump to navigation Jump to search
Content deleted Content added
Included the text again, just in case blocks didn't display.
No edit summary
 
Line 14: Line 14:
* [[()|<sb>([2.718281828459045]::operators)</sb>]]
* [[()|<sb>([2.718281828459045]::operators)</sb>]]
* [[constant ()|<sb>(constant [e v]::#7ac94f)</sb>]]
* [[constant ()|<sb>(constant [e v]::#7ac94f)</sb>]]
==See also==
*[[Pi (block)]]
{{DISPLAYTITLE:e}}
{{DISPLAYTITLE:e}}
[[Category:Reporter Blocks]]
[[Category:Reporter Blocks]]

Latest revision as of 18:54, 8 July 2024

e
e::operators reporter
Caption
Block Type Reporter Block
Category / Extension Operators
Status Who tf uses status

The e block is a reporter block that reports the value of Euler's constant (2.718281828459045). To get the block, one must add the "Operators Expansion" extension.

However, when you do say (e::operators)or think (e::operators) it shortens into 2.72

Workaround

This block can be worked around by using 1 as the input for the () of () operators block, the constant () block with e selected, or using anything else that reports the value of e. If this value is used multiple times in the code, a variable can be used.

See also