I´m making a game in which a certain action is executed when the score is multiple of five (ex 5,10,15,20,25...), and it doesn´t seem like there is an answer around here. I was thinking that a proper method would be dividing that number by 5 and if the result was a whole number, then the action would be executed.
Even though I found this-> http://stackoverflow.com/questions/2304 ... ole-number, trying that method gave me no result in construct.
Any help would be great, and if this was asked before, i´m really sorry.
-C