๐Ÿ’ปap computer science a review

Modulo Operator

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.

"Modulo Operator" also found in: