remainder

Sale Price:$400.00 Original Price:$500.00
sale
For two values of the same sign, the two are equivalent, but when the operands are of different signs, the modulo result always has the same sign as the divisor, while the remainder has the same sign as the dividend, which can make them differ by one unit of d. To obtain a modulo in JavaScript, in place of n % d, use ( (n % d) + d) % d.
Quantity:
Add To Cart