sure, let f(A,B) be reminder, A be dividend and B be divisor, then
f(A,B)=A-B*[A/B]
and [x] denotes the largest integer less than or equal to x
or since mod is a valid mathematical function, much easier:
f(A,B)=A mod B
|
Results 1 to 19 of 19
Thread: How does the MOD function work.Hybrid View
|
Click Here to Expand Forum to Full Width |