Skip to content

Glossary: Go Basics

Remainder

Also written: %, modulo

What is left over after whole-number division, given by the `%` operator. `7 % 2` is 1.

Where the book teaches it

Related terms

int