E: Difference between revisions
E
Content deleted Content added
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|block_name=e::operators reporter}} |
|block_name=e::operators reporter}} |
||
The |
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 <sb>say (e::operators)</sb>or <sb>think (e::operators)</sb> it shortens into 2.72 |
However, when you do <sb>say (e::operators)</sb>or <sb>think (e::operators)</sb> it shortens into 2.72 |
||
==Workaround== |
==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> |
|||
* <sb> |
* [[() of () (Operators Block)|<sb>[e ^ v] of (1)::operators</sb>]] |
||
* <sb>( |
* [[()|<sb>([2.718281828459045]::operators)</sb>]] |
||
* [[constant ()|<sb>(constant [e v]::#7ac94f)</sb>]] |
|||
{{DISPLAYTITLE:e}} |
{{DISPLAYTITLE:e}} |
||
[[Category:Reporter Blocks]] |
[[Category:Reporter Blocks]] |
||
[[Category:Operators Blocks/Expansion]] |
[[Category:Operators Blocks/Expansion]] |
||
[[Category:Extension Blocks]] |
Revision as of 18:04, 23 June 2024
e | |
---|---|
e::operators reporter | |
Block Type | Reporter Block |
Category / Extension | Operators |
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 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.