In mathematics and digital electronics, a binary number is a number expressed in the binary numeral system or base-2 numeral system which represents numeric values using two different symbols: typically 0 (zero) and 1 (one).
The decimal numeral system (also called base-ten and occasionally denary) has ten as its base, which, in decimal, is written 10, as is the base in every positional numeral system.
In mathematics and digital electronics, a hexadecimal number (also base 16, or hex) is a number expressed in the hexadeximal numeral system - a positional numeral system with a radix, or base, of 16.
Decimal number (positive) | Hexadecimal number |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
10 | A |
11 | B |
12 | C |
13 | D |
14 | E |
15 | F |
16 | 10 |
32 | 20 |
64 | 40 |
128 | 80 |
256 | 100 |