Modulo

<< Click to Display Table of Contents >>

Navigation:  Function block library > Mathematics > Arithmetic operations >

Modulo

Previous pageReturn to chapter overviewNext page

modulo

In mathematics, modular arithmetic (sometimes called clock arithmetic) is a system of arithmetic for integers, where numbers "wrap around" after they reach a certain value—the modulus. Modular arithmetic was introduced by Carl Friedrich Gauss in his book Disquisitiones Arithmeticae, published in 1801. (Source: http://en.wikipedia.org/wiki/Modular_arithmetic)

 

Inputs

Type

Default

Description

Dividend

int

0


Divisor

int

1






Outputs




Remainder

int


Dividend mod Divisor