wood burning stoves 2.0*
The moose likes Other Languages and the fly likes Regarding Hexadecimal value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Regarding Hexadecimal value" Watch "Regarding Hexadecimal value" New topic
Author

Regarding Hexadecimal value

ramranga Kumar
Greenhorn

Joined: Jul 21, 2006
Posts: 5
What is the hexadecimal value of decimal number 25. It should be in the format of 0x0000 ?

And what is the relation between 0x0,0x00,0x000 and 0x0000. Are they one and the same or different?
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
Hexadecimal is base 16 so you can convert numerically or google on hexadecimal conversion to find one of many converters.

[Trying to figure out what your angle is that you have posted this in the Object Oriented Scripting forum, so not sure what kind of answer you are looking for]

Try 25, 0x0, 0x00, 0x000, 0x000 in one of the online converters...or google or otherwise search your favorite language's API to do it programmatically.
 
jQuery in Action, 2nd edition
 
subject: Regarding Hexadecimal value
 
Similar Threads
use of quotes in type-in qts
Casting
converting hexa decimal into int
how many differnt ways can you initialize char ....
decimal ->octal & decimal ->hexadecimal