Floating-point types represent numbers with fractional parts — unlike integers.
Examples:
2.5, 3.14159, 71.3, 122442.32
They also represent very large or very small values beyond the range of integer types (e.g., number of stars in the galaxy ≈ 4×10¹¹).
Types: