remainder


remainder(i1, i2)
      

Return the integer remainder of i1 and i2. The result has the same sign as i1.

Examples:


remainder(-10, 3)
// -1
remainder(10, -3)
// 1
      

Also see:

modulo
rem


Core Module Index | Contents