Binary Fraction Converter
Convert a decimal value (with a fractional part) to binary.
Convert numbers with decimal fractions into binary, including the bits after the point.
The math behind it
Convert the whole part by division. For the fraction, repeatedly multiply by 2 and record each whole-number carry as the next binary bit.
Worked example
5.625 = 101.101 in binary.
FAQ
Why might it not terminate?
Many decimal fractions repeat forever in binary (like 0.1), so the result is truncated.