How do you go from decimal to binary numbers?

Passing a base number 10 (decimal system) to one of base 2 (binary system) basically consists of successive divisions. Depending on whether the number is even or odd, we will place a zero or one in the right column. If it is odd, we will subtract one and continue to divide between two (and we can 1 on the right side as previously exposed), until we reach the final result that must always be 1. Then, we only have to take the results of the column of the column of the right and order the digits from the bottom up, and we will have our number turned into binary.