The usage of modulo: How can I correctly implement it?

@GoToLoop

So if I understand correctly, you use the remainder for your calculations?

like in the example of 52.1 % 10, your remainder is 2.1 and you use that?