Easy WE Math to Check if Integer is Divisible by 5 with Remainder of 0?

Status
Not open for further replies.
Level 21
Joined
Mar 16, 2008
Messages
955
Is there a more elegant way to this besides checking if the integer is equal to 5, 10, 15, ...?

Would this work?
  • ...
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (spawn_counter / 5) Equal to (Round(((Real(spawn_counter)) / 5.00)))
    • Then - Actions
      • ...
  • ...
 
Status
Not open for further replies.
Top