I would like to calculate the modulus of two numbers.

If x=5 and y=2, I want to set z=1.

If x=6 and y=2, I want to set z=0.

In other words, I’m trying to see if variable ‘x’ is odd, or even.

So, I’ve tried “Set Variable ‘z’ to Calculation ‘CALCULATE(x%y)’” action

but no dice.

How can I do this? Thanks!