Floats (float) are numbers with decimal points.
Use them for measurements, percentages, and calculations that need precision beyond whole numbers. python price = 19.99 pi = 3.14159 ratio = 0.75 A number with a decimal point is automatically a float, even if it's a whole number: 5.0 is a float, 5 is an int.
Warning: floats can have tiny precision errors. 0.1 + 0.2 equals 0.30000000000000004, not 0.3. This rarely matters, but it's good to know. For money calculations, specialized libraries handle this better.