Skip to content

Convert Decimal Numbers to Binary Numbers

We use the modulo and division method, and we calculate the binary representation of a decimal number. Let’s represent the binary by considering the remainder column from bottom to top.

Gopi Gorantala
Gopi Gorantala
β€” 6 min read