Is () even: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Also, is this a real block? Can't see it |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1:
{{Blocks|block_type=Boolean|category=Operators Expansion|block_img=<gallery>
The is even block is a boolean block that detects if a number is an even number or an odd number.▼
Block 11 25 2023-9 55 27 AM.png|Workaround
</gallery>}}
▲The is even block is a boolean block and a operators block that detects if a number is an even number or an odd number. To get it, one must add the "Operators Expansion" extension.
==Workaround==
Numbers are even when divisible by 2, so using the mod block with 2 as the second input and detecting if the result is 0 works the same.
[[Category:Boolean Blocks]]
[[Category:Operators Blocks/Expansion]]
|
Latest revision as of 15:57, 25 November 2023
Is () even | |
---|---|
[[File:
| |
Block Type | Boolean |
Category / Extension | Operators Expansion |
The is even block is a boolean block and a operators block that detects if a number is an even number or an odd number. To get it, one must add the "Operators Expansion" extension.
Workaround
Numbers are even when divisible by 2, so using the mod block with 2 as the second input and detecting if the result is 0 works the same.