12 in Decimal
Hexadecimal 12 equals 18 in decimal.
12 in all number bases
Decimal18
Hexadecimal0x12
Binary0001 0010
Octal22
How 12 converts from hexadecimal to decimal
Multiply each digit by 16 raised to its position (starting at 0 from the right), then add the results:
1× 161 = 1 × 16 = 16
2× 160 = 2 × 1 = 2
Sum: 18