Skip to content

Glossary: Go Basics

int

Also written: integer

The type for whole numbers, which can be negative. Dividing two `int` values drops the fraction.

Where the book teaches it

Related terms

float64