I want to test in a loop any time I have a number dividing another one ,
could you please tell how
Thanks
Printable View
I want to test in a loop any time I have a number dividing another one ,
could you please tell how
Thanks
Use should use modulus (ie '%')
For example: x%y = remainder of x/y
so 4%2 = 0
5%3 = 2
Dustin