A floating-point number has a fractional part and a biased exponent.
Float occupies 4 bytes and double occupies 8 bytes.