Odd and Even Numbers
-
Hello Every One :
How can i know if a number in constants is odd or even ???
is there anyway ???
Please Let me know .
thank you so much . -
I know there is a custom code formula doing that, but I'm afraid that's not my filed of expertise. Probably jstap will know.
-
MathMod(x, 2) == 1
MathMod(x, 2) == 0First one is odd, second is even
-
To make this a little dynamic in 1 condition Bloch, text code input MathMod(constant, 2) == 0
orange dot would be true and yellow dot would odd