FANDOM



:mod(dividend,divisor)

This returns the modulus of the dividend divided by the divisor. In other words, if the dividend is divided by the divisor using integer division, the remainder is the returned value of this function.

ExamplesEdit

:mod(0,3) = 0
:mod(1,3) = 1
:mod(2,3) = 2
:mod(3,3) = 0
:mod(4,3) = 1

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.