A hexadecimal digit can have sixteen different values, 0..9 and A..F, representing 0..15 in decimal.
For the same value in binary you need four bits, 0000..1111, representing the same 24 values. Two of those four-bit nibbles or hexadecimal digits form a byte, representing 16*16 = 256 values.
48 bits or six bytes require 12 hex digits, often written with - or : in between (byte) pairs.
https://networkengineering.stackexchange.com/questions/53659/why-two-hexadecimal-digit-can-only-stand-8-bits-in-mac-address
Hexadecimal to Decimal conversion table
| Hexadecimal | Decimal |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| A | 10 |
| B | 11 |
| C | 12 |
| D | 13 |
| E | 14 |
| F | 15 |
https://www.w3resource.com/convert/number/hex-to-decimal.php
https://decimaltobinary.pro/How-to-Convert_hexadecimal__9F_in_decimal_%3F
(9F)16 = (159)10
Step by step solution
Step 1: Write down the hexadecimal number:
(9F)16
Step 2: Show each digit place as an increasing power of 16:
9x161 + Fx160
Step 3: Convert each hexadecimal digits values to decimal values then perform the math:
9x16 + 15x1 = (159)10
So, the number 159 is the decimal equivalent of hexadecimal number 9F (Answer).
No comments:
Post a Comment