Π: Difference between revisions
Π
Content added Content deleted
No edit summary |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Blocks|block_img=<gallery> |
{{Blocks|block_img=<gallery> |
||
Block 6 5 2023-4 33 39 PM.png|Block |
Block 6 5 2023-4 33 39 PM.png|Block |
||
PiWorkaround.png|Workaround |
|||
</gallery>|block_type=Reporter|category=Operators Expansion}} |
</gallery>|block_type=Reporter|category=Operators Expansion}} |
||
The pi block is a reporter block that reports the value of pi (3.141592653589793238). To get the block, one must add the "Operators Expansion" extension. |
The pi block is a reporter block that reports the value of pi (3.141592653589793238). To get the block, one must add the "Operators Expansion" extension. |
||
==Workaround== |
==Workaround== |
||
This block can be worked around by using the actual value of pi, which can be saved to a variable so it can easily be used multiple times in the code. It can also be replicated using the [[constant ()]] block, with "π" selected. |
|||
{{DISPLAYTITLE:π}} |
|||
[[Category:Reporter Blocks]] |
[[Category:Reporter Blocks]] |
||
[[Category:Operators Blocks/Expansion]] |
[[Category:Operators Blocks/Expansion]] |
Latest revision as of 14:19, 15 May 2024
Π | |
---|---|
[[File:
| |
Block Type | Reporter |
Category / Extension | Operators Expansion |
The pi block is a reporter block that reports the value of pi (3.141592653589793238). To get the block, one must add the "Operators Expansion" extension.
Workaround
This block can be worked around by using the actual value of pi, which can be saved to a variable so it can easily be used multiple times in the code. It can also be replicated using the constant () block, with "π" selected.