in reply to Re: Modulo operation to return quotient and remainder
in thread Modulo operation to return quotient and remainder

Just a note if you're using negative values: depending on your application, you might want to use floor() instead of int(). This bit me a while back.
  • Comment on Re^2: Modulo operation to return quotient and remainder