heyz,
I know this is an easy one but I'm just learning vb, comming from c++, and I can't find how to get this:
5/2 --> 1
5/3 --> 2
So it just returns the remainder..
Thx & Greetz,
FiRe7
Printable View
heyz,
I know this is an easy one but I'm just learning vb, comming from c++, and I can't find how to get this:
5/2 --> 1
5/3 --> 2
So it just returns the remainder..
Thx & Greetz,
FiRe7
Hi
The Mod funtion is what u are looking for.
X = 5 Mod 2
Regards
Stuart
thx man :)
knew it was something with mod.. mod(5/2) didn't work.. grmbl :)
anyway...
thx
Greetz,
FiRe7
Merry Christmas and a Happy Newyear