NetLogo Help: remainder

### remainder1.2.1

#### remainder number1 number2

Reports the remainder when number1 is divided by number2. This is equivalent to the following NetLogo code:

              number1 - (int (number1 / number2)) * number2

    show remainder 62 5
    => 2
    show remainder -8 3
    => -2

See also mod. mod and remainder behave the same for positive numbers, but differently for negative numbers.

Take me to the full NetLogo Dictionary