# Decimal to Binary conversion

• November 1st 2009, 11:54 AM
ethio
Decimal to Binary conversion
Hello,
I need help in figuring out what im doing wrong:

-15.625 ---> 11110001.10100000 OR 11110001.101

but those turned out to be wrong.
any ideas?
• November 2nd 2009, 07:18 AM
Media_Man
Um, $-15.625=-(2^3+2^2+2^1+2^0+2^{-1}+2^{-3})=-(1111.101)_2$

Are you trying to "sign" it as a computer would, to store it in bytes? This is different than a strictly mathematical conversion.
• November 3rd 2009, 11:22 AM
ethio
Thats what i was looking for. -1111.101
thnx