Skip to content

Glossary: Go Basics

float64

Also written: float, decimal

A type for numbers with a decimal point. It can't store most decimal fractions exactly, so it isn't used for money.

Where the book teaches it

Related terms

intCents (money as whole numbers)