40 in Decimal
Hexadecimal 40 equals 64 in decimal.
40 in all number bases
Decimal64
Hexadecimal0x40
Binary0100 0000
Octal100
How 40 converts from hexadecimal to decimal
Multiply each digit by 16 raised to its position (starting at 0 from the right), then add the results:
4× 161 = 4 × 16 = 64
0× 160 = 0 × 1 = 0
Sum: 64