v = math.fmod (v1, v2)
The modulus (remainder) of doing: v1 / v2 math.fmod (100, 22) --> 12
math.fmod (100, 22) --> 12