In pascal or c, there is a function named 'rem' and 'mod' which return the reminder of the division. Like
a = 5 rem 2;
then 1 will be stored into a.
a = 17 rem 3;
then 2 will be stored into a.
Could I get this rem and mod function in vb.
If yes, how, I would like an example.
If no, how can I build this function, I would like a complete code.
Thank a lot.