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