Float

Keywords: Floating point value

A float is a type of number with a decimal. For example: 3,14. This can be contrasted with an integer which does not have a decimal: 3.

Floats can only be a certain size before they lose precision so if you need super large numbers you might need a Double instead, which is the same but it allows bigger numbers. It's also more expensive.