Its there anybetter way to obtain multiple of a variable?
The case is:
I have an variable(int) wich hold a number of enemies have been slain. And want to for every 100
enemies slain get an mastery point or some specia token i will use in another part
First i can just divide it but for what i want to achieve its useless.
the second way is to make another variable wich restarts after reaching the multiple i need
and then simply add the point to the token count but i think there is probably a better way to do so.
Thx In advance.