Reply to Re: Modulo
If you don't have an account, just leave the password field blank.
If you have Dink 1.08, here's the dinkc.chm entry for math_mod:
math_mod
Category: Math
Version: 1.08+
Prototype: int math_mod(int value, int divisor);
math_mod returns the remainder of value divided by divisor.
so:
int &crap = math_mod(632, 3)
if (&crap == 0)
{
//blahblah
}
math_mod
Category: Math
Version: 1.08+
Prototype: int math_mod(int value, int divisor);
math_mod returns the remainder of value divided by divisor.
so:
int &crap = math_mod(632, 3)
if (&crap == 0)
{
//blahblah
}