I believe this converts 0.9 into binary and not BCD.You express 0.9 as sum of binary fractions:
0.9 = (1/2) + (1/4) + (1/8) + ... to any level of precision you care to work with. In the above case you would have the binary fraction:
0.1110
by Jake Hertz
by Jake Hertz