That's how my university instructor taught us.Quote:
Originally posted here by (V)/\><
possibly an easier way to convert decimal to binary in two easy steps.
(a) divide by two - if remainder is one, you got a binary 1 as the, if its zero, you got a binary 0 - as your least significant bit.
(b) keep repeating step (a)
