A Binary can be converted to BCD using these steps:-
Let's say your Binary value is
1110001111, and you want to convert it to its bcd form.
Binary is the numeric system of computers. Computers are so dumb they only understand 0s and 1s. Binary numbers have a base of 2.
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