Skip to content

Glossary: Kotlin Basics

integer division

Dividing an `Int` by an `Int`, which drops the decimals, so `7 / 2` is 3. Making either number a `Double` gives 3.5.

Where the book teaches it

Related terms

IntDouble