1 2 3 4
-- v2.14 HD 5.1 seed: % on doubles + math.fmod. print(7 % 3, -7 % 3, 7.5 % 2) print(math.fmod(7, 3), math.fmod(-7, 3)) print(math.floor(7 / 2), math.ceil(7 / 2))