News

0101 = 5 So: 01110101 = 75 You don’t even have to memorize the sixteen binary numbers corresponding to the sixteen hex digits; you only have to know that the four place values are 8, 4, 2, and 1.
Converting numbers to decimal with bc With all that said, you can also use the bc command to turn numbers expressed in hex, octal, or binary to decimal. Just specify the obase (output base) value ...