Modulo operation facts for kids
In mathematics, modulo operation, represented by the symbol , returns the remainder of an integer division (also known as Euclidean division), where the division of two integers produces a quotient and a remainder.
More specifically, given an integer and a non-zero integer , the expression refers to the remainder of the division . Here, is also known as the dividend; is also known as the divisor (or the modulus), and the remainder can be also called the least non-negative residue.
However, other conventions and definitions of the modulo operation are also possible, since computers and calculators have various ways of storing and representing numbers. Their definition of the modulo operation depends on the programming language and/or the underlying hardware.
Related pages
See also
In Spanish: Operación módulo para niños