BAD16:
Binary = 10111010110100010110
Decimal = 765206
Chat with our AI personalities
Decimal 30 = binary 11110. The decimal binary code (BCD), however, is 11 0000.
16 is the 4th power of 2. So a hexadecimal number is converted to binary by replacing each hex digit by the 4-bit binary number having the same value. Conversely, in converting binary to hexadecimal, we group every 4 bits starting at the decimal (binary?) point and replace it with the equivalent hex digit. For example, the hexadecimal number 3F9 in binary is 1111111001, because 3 in binary is 11, F (decimal 15) is 1111, and 9 is 1001.
hexadecimal, eg. 1ABH = 1AB(16) = 427(10)
8 in decimal is 1000 in binary
The number 6 in binary is 110