- Posts: 1
- Thank you received: 0
Conversion of Decimal to Hexa and Hexa to Decimal
20 years 5 months ago #3894
by ajnabi
Conversion of Decimal to Hexa and Hexa to Decimal was created by ajnabi
Hi every body.
I have the problem of Conversion from Decimal to Hexa
and Hexa to Decimal can u plz tell me?
I have the problem of Conversion from Decimal to Hexa
and Hexa to Decimal can u plz tell me?
20 years 5 months ago #3895
by dreamer
Replied by dreamer on topic Re: Conversion of Decimal to Hexa and Hexa to Decimal
Hi,
Well if you have windows you can use your calculator under the bureau accessories. It has the possibilty to switch between binary, decimal and hexadecimal. So you can easily convert using that.
You can also try looking for tools on the net but since the calculator can do it there is no need to look for it I believe.
The theory behind the conversion is rather simple. For instance
0 (hex) = 0000 (bin) = 0 (dec)
1 (hex) = 0001 (bin) = 2^0 = 1(dec)
2 (hex) = 0010 (bin) = 2^1 = 2(dec)
3 (hex) = 0011 (bin) = 2^0+2^1 = 1+2 = 3 (dec)
|
|
F (hex) = 1111 (bin) = 2^3+2^2+2^1+2^0= 8+4+2+1 =15(dec)
You can also translate directly for instance: 28 HEXADECIMAL to DECIMAL
= 2* 16^1 + 8* 16^0 = 32 + 8 =40
I hope this solves your problem.
Greets
Dreamer
Well if you have windows you can use your calculator under the bureau accessories. It has the possibilty to switch between binary, decimal and hexadecimal. So you can easily convert using that.
You can also try looking for tools on the net but since the calculator can do it there is no need to look for it I believe.
The theory behind the conversion is rather simple. For instance
0 (hex) = 0000 (bin) = 0 (dec)
1 (hex) = 0001 (bin) = 2^0 = 1(dec)
2 (hex) = 0010 (bin) = 2^1 = 2(dec)
3 (hex) = 0011 (bin) = 2^0+2^1 = 1+2 = 3 (dec)
|
|
F (hex) = 1111 (bin) = 2^3+2^2+2^1+2^0= 8+4+2+1 =15(dec)
You can also translate directly for instance: 28 HEXADECIMAL to DECIMAL
= 2* 16^1 + 8* 16^0 = 32 + 8 =40
I hope this solves your problem.
Greets
Dreamer
Time to create page: 0.115 seconds