⌨️ap computer science principles review

Modulo operator

Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated September 2025

Definition

The modulo operator, represented by the symbol %, is a mathematical operation that returns the remainder when one number is divided by another.

"Modulo operator" also found in: