top of page
Binary 01101010
Binary code is used by computers, so all messages that we want to send them are writed in this language. It uses only to umbers: 0 and 1. For example, the number 2 (in decimal) is the number 10 in binary (IS NOT "TEN", IS "ONE, ZERO"!!).
The powers of 2 in binary are the "perfect numbers" in decimal: 10 (2), 100 (4), 1000 (8), 10000 (16)...
But... How can we translate a binary number into decimal and back?
-
To translate a binary number into decimal we have to do this:
We have to add the multipliers that in the binary number have a number 1 in its position.
-
To translate a decimal number into binary we have to do this:
We have to divide the decimal number by 2 until we obtain a number under 2. The group of the remainders will be the binary number, but we need to read it from the last remainder to the first.


bottom of page