Difference between BCD and decimal number
Answers
Answered by
2
Answer:
Binary coded decimal (BCD) is a system of writing numerals that assigns a four-digit binary code to each digit 0 through 9 in a decimal (base-10) numeral. The four-bit BCD code for any particular single base-10 digit is its representation in binary notation, as follows: 0 = 0000. 1 = 0001. 2 = 0010.
The decimal numeral system is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral system. The way of denoting numbers in the decimal system is often referred to as decimal notation.
Explanation:
To convert any decimal number to BCD, each digit of the decimal number is converted to binary. For example number 962 in decimal is 1001 0110 0010 in BCD. As the name suggests Binary Coded Decimal is basically a binary number with combination of bits 0's & 1's. Decimal number is combination of digits among 0 to 9.
have a nice evening
Similar questions