Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Multiples?
Multiples?
02-24-2007, 01:32 AM
#1
Joker
Is there a way for you to check if a number if a multiple of another number?
02-24-2007, 01:43 AM
#2
Ammorth
use modulo. It takes the number in question, a divisor, and gives a remainder. If it returns a 0, it is a multiple of the divisor.
02-24-2007, 01:54 AM
#3
Joker
ok ty + rep