Rem/modulo function for integers

…or Decimal.rem/2.