Hex to BCD Converter is used to convert a Hex number (Base-16) into Binary Coded Decimal format
Output: BCD numbers
Convert Binary Coded Decimal number to Hex
View ToolConversion from Hex to BCD
A Hex can be converted to BCD using these steps:-
- Convert the Hex number into Decimal
- Convert each decimal digit into nibble
- Combine the nibbles into BCD
Example Hex to BCD Conversion
Let's say your Hex value is 0x38f
, and you want to convert it to its bcd form.
- Step 1: Convert input to Decimal:
911
- Step 2: Convert decimal digits to nibble
9
becomes1001
1
becomes0001
1
becomes0001
- Step 3: Combine the nibbles to get your BCD number:
100100010001
Hex
Hexadecimal is a numeric system widely used by systems designers and computer programmers. It contains 16 symbols from 0 to 9 and A to F, thus having a base of 16.
Binary Coded Decimal
Binary Coded Decimal or BCD is a set of binary encodings for decimal numbers used in early digital computers. In BCD, a binary sequence is used to represent each digit of the source decimal number
History
- Jan 30, 2018
- Tool Launched
Comments 0