How do you convert a decimal to binary?

A. Repeatedly multiply the decimal number by 2
B. Repeatedly divide the decimal number by 2
C. Repeatedly multiply the decimal number by 10
D. Repeatedly divide the decimal number by 10