Decimal to binary (numbers with decimal points)
Divide the integer part by 2 to find the remainder (reverse order: the last one comes first) until the quotient is 0; Multiply the pure decimal part by 2, and the single digits of the result are arranged in positive order until all digits of the pure decimal are zero or all digits to the left of the nth decimal are zero.