Divisibility [SOLVED]

I don’t found it in the Wiki (if A is divisible for B = True, give you an integer when you do), and, if it doesn’t exist, I’ll have to add 20 events for each condition :cry:

You can use the modulo :


Then, you test if the modulo return 0, if it’s the case : the number is divisible by the divisor.

1 Like