โŒจ๏ธap computer science principles review

Float

Written by the Fiveable Content Team โ€ข Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated August 2025

Definition

A float is a data type in programming that represents decimal numbers. It can store both whole and fractional values.