Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding Hexadecimal value

 
ramranga Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic