A Decimal can be converted to BCD using these steps:-
Let's say your Decimal value is
911, and you want to convert it to its bcd form.
Decimal is the numeric system most used by us humans. It consists of the Hindu-Arabic numerals, a set of 10 digits from 0 to 9.
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