Is () even: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "thumb|302x302px The is even block is a boolean block that detects if a number is an even number or an odd number." |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:Block 6 5 2023-4 33 27 PM.png|thumb|302x302px]] |
[[File:Block 6 5 2023-4 33 27 PM.png|thumb|302x302px]] |
||
The is even block is a boolean block that detects if a number is an even number or an odd number. |
The is even block is a boolean block that detects if a number is an even number or an odd number. |
||
==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]] |