File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Regarding Hexadecimal value

ramranga Kumar

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
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.
I agree. Here's the link:
subject: Regarding Hexadecimal value