In logic circuits information is represented as eletronic signals that represent the voltage level in a circuit. This signals are usually denoted as and . Binary numbers can be converted to decimal using the following formula:

Converting a decimal number to a binary is not that simple, as we have to divide the decimal number by multiple times like in the example:

In Chapter 3 we return to this subject when discussing the representation of negative numbers.