MOD function in calculator
I would like to know the Javascript for the MOD function in a calculator.
Let's say I have the constant 22, and x is a variable:
remainder= x MOD 22
So if x is higher than 22, let it divide. The answer I'm looking for is the quotient, the letter R (for remainder) and the remainder.
|