So you want to convert a number
) into binary
, do you now? Here's the pencil and paper method
us old fart
s got taught back when the Earth was still young
. As an example, we'll convert 163
to binary as we go along.
Take your number and repeatedly divide by 2 (until you reach 1, when there's really not much point in going on (but you can!)). Ignore any remainders (we'll come back later to pick them up).
Now read the column
of numbers from the bottom up
; write down (from left
!) a "1" for every odd
number, a "0" for every even
In our case, this yields 101000112=16310.