In Lua, how can I tell if a number divides evenly into another number?
snippet in lua

In Lua, how can I tell if a number divides evenly into another number?

user936

12 % 6 == 0

18 % 6 == 0

20 % 6 ~= 0