What is a float?

What is a floating point number, and why is it so complicated?

Floating points are decimals. When a byte stores an integer, it is a binary representation of the number. When it stores a decimal, it has to keep track of where the decimal is, so the sequence of bits are handled differently.

Topics