Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
The modulo operator, represented by the symbol %, returns the remainder of a division operation. It is used to determine if a number is divisible by another number.
Related terms
Division Operator: Performs division between two numbers and returns the quotient.
Integer Division: Performs division between two numbers and discards any decimal part of the result.
Remainder: The amount left over after dividing one number by another.