Hi Narend ,
This is not a formula ; this is the mathematics behind the MOD ( modulo ) function.
The modulo function returns the remainder when one number is divided by another ; for instance , when we divide the number 11 by 7 , the remainder is 4.
Thus MOD(11,7) will return 4.
In case the MOD function is not available , you can get the same result by :
11 - 7 * INT(11/7)
The INT function returns the integer quotient when one number is divided by another ; in this case , when you divide 11 by 7 , the integer quotient is 1.
Thus 11 - 7 * 1 = 11 - 7 = 4.
Narayan