Float
Also written: floats, floating-point number
A number with a decimal point, such as an `f64`. Floats can't store most decimal fractions exactly, so `0.1 + 0.2` gives `0.30000000000000004`, which is why money is kept in cents.
Also written: floats, floating-point number
A number with a decimal point, such as an `f64`. Floats can't store most decimal fractions exactly, so `0.1 + 0.2` gives `0.30000000000000004`, which is why money is kept in cents.