Hexadecimal: Difference between revisions
Content added Content deleted
m (→Comparing counts from zero in different number systems: fix link) |
|||
Line 51: | Line 51: | ||
== Converting binary to hexadecimal == |
== Converting binary to hexadecimal == |
||
# Split a binary number into groups of four digits, counting from right to left. |
# Split a binary number into groups of four digits, counting from right to left. |
||
# Pad the leftmost group of binary digits with zeros on their left if |
# Pad the leftmost group of binary digits with zeros on their left if there are less than four digits. |
||
# Use the following table to translate each group of four binary digits, in order, to its hexadecimal equivalent. |
# Use the following table to translate each group of four binary digits, in order, to its hexadecimal equivalent. |
||
Binary digits |
Binary digits |