user3277335
user3277335

Reputation: 2037

How does the hex number 0x000000000032000000 correspond to 50 in decimal?

I understand that 32 in hex is 50 in decimal, but with all the zeroes how do I get 50 from 0x000000000032000000 in hex?

Upvotes: 0

Views: 44

Answers (1)

Mubin Icyer
Mubin Icyer

Reputation: 705

You can get 50 by shifting this hexadecimal number 24 bit to right.

Upvotes: 2

Related Questions