xMod var value changes the variable var to its modulo of value without creating a new number, which is faster than mod.