Odd and Even Without Modulus? is there modulus?


#1

I have been searching for a way to determine whether a variable is odd or even. I don't think that Hopscotch has modulus (%) or a way of finding a remainder, Thoughts would be helpful


#2

I'm not sure about this one. Maybe @oio can help?


#3

Yeah. Unfortunately, it would be very difficult to determine remainders and what nots of numbers.


#4

I think I'm on the right track here:

Check once if -1^Variable = 1
Set Variable to Even
Else
Set Variable to Odd