.
How to convert binary to hexadecimal ?
.
To convert binary to hexadecimal, at each 4-bits portion of the binary number, we associate the hexadecimal number using the following table:
0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 A
1011 B
1100 C
1101 D
1110 E
1111 F
.
For example, 1111110010110001=FCB1:
1111
1100
1011
0001
F
C
B
1
.
.
.
Copyright (c) 2002 - Guillaume Péan
www.shunsoft.net