E: Difference between revisions

271 bytes added ,  17 days ago
no edit summary
No edit summary
No edit summary
Line 5:
|block_name=e::operators reporter}}
 
The euler'''e''' block is a reporter block that reports the value of eulerEuler's constant (2.718281828459045). To get the block, one must add the "Operators Expansion" extension.
 
However, when you do <sb>say (e::operators)</sb>or <sb>think (e::operators)</sb> it shortens into 2.72
 
==Workaround==
This block can be worked around with the following blocks, 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.
* <sb>[e ^ v] of (1)::operators</sb>
* [[() of () (Operators Block)|<sb>([2.718281828459045e ^ v] of (1)::operators)</sb>]]
* [[()|<sb>(constant [e v2.718281828459045]::#7ac94foperators)</sb>]]
* [[constant ()|<sb>(constant [e v]::#7ac94f)</sb>]]
{{DISPLAYTITLE:e}}
[[Category:Reporter Blocks]]
[[Category:Operators Blocks/Expansion]]
[[Category:Extension Blocks]]
286

edits