mathematical modulus

Does anybody know how to get the modulus of a variable and set it to a different variable?
I'm a noob and i don't know how. :grinning:

y = x % z

Was Googling really that hard?