How do I convert this hexadecimal address to a decimal address?
0*FFFF0000
closed as not a real question by Shinrai, Gilles, grawity, Sathya♦ May 10 '11 at 4:33It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question. 

4294901760 (minus the 0*) Use TFM's method or use an online calc although real coders do it in there head. Ok that last parts a lie but at least we claim to. 


Use the Windows Calculator to convert from Hex to Decimal: Choose "Programmer" option from the "View" menu: Make sure that you enter the number while the calculator is in "Hex" mode. After entering the number switch to "Decimal" mode. And you have the answer... 


How about doing it manually? ;)
As you have asked how to convert hex to binary and the other way around here's the answer: Hex to binary and the other way around is pretty simple. Just convert each character of the hex string into 4bit binary value:
So 0xFFFF0000 is:
another example of 0x0FA10021:



Each placeholder is worth whatever the base is set to. In decimal it is 10. So the number 123 for instance:
The same idea applies to base 16 (e.g., hexadecimal  hex meaning 6 and decimal meaning 10  16). Each placeholder goes up to 16. Since we're used to only 10 digits, we substitute letters for 11 through 15. In hexadecimal, one placeholder can have values 0 through 15.
For your example, there are 8 places.
Sounds complicated right? It's not, really. The same thing is done with decimal:
Wikipedia's page on Hexadecimal goes into more detail. Your question is tagged with IP, so that uses dotted decimal notation  a lot easier than that. Usually it's expressed in 255.255.255.255. The great thing about Hexadecimal is that it can represent this very easily as FF is 255. Your address in question translates to 255.255.0.0 and then in dotted hexadecimal notation (is there such a thing?) it's FF.FF.00.00. 


x
, indicating that it's hexadecimal by starting with0x
. – Daniel Beck♦ May 10 '11 at 5:01