modulo(i1, i2)
Return the remainder of the integers i1 and i2. The result has the same sign as i2.
i1
i2
modulo(10, 5) // 0 modulo(5, 2) // 1 modulo(10, -3) // -2
Core Module Index | Contents