⌨️ap computer science principles review

Float

Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated September 2025

Definition

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