A Decimal can be converted to BCD in three steps:-
Let's say your Decimal value is
911 and you want to convert it to it's BCD form.
Decimal is the numeric system most used by us humans. It comprises 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