Binary coded decimal (BCD) - Question 2

Thread Starter


Joined Dec 18, 2008
Convert the following decimal number in BCD code:


I have no idea how to do this one, i was told to use floating-point numbers but have no idea how to use it and if its the right method!

Any help is greatly appreciated.


Joined Mar 24, 2008
The decimal is what stumps me, the numbers can be converted straight into 4 separate digits. Maybe the answer is 4 separate strings of binary numbers separated by the decimal point?


Just read the other post.

4 bytes, each byte being 2 BCD numbers.

The last two bytes are the exponent, similar to resistors. For example, a 2.2KΩ resistor is 223, or 22 X 10^3. Same thing in BCD use 4 bytes (which translates into 8 BCD numbers).
Last edited: