MOD(n,d) = n - d*INT(n/d)