The modulus function returns the remainder of a division operation.
| Name | Description |
|---|---|
| a number input | |
| a number input |
The modulus function returns the remainder of a division operation. For example, modulus is because divided by is with a remainder of .
The function has many applications in computer science and cycle-related problems.
The examples shown below use the divisor of .