aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Outputting Number is Hex Format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Outputting Number is Hex Format" Watch "Outputting Number is Hex Format" New topic
Author

Outputting Number is Hex Format

vinay jain
Greenhorn

Joined: Nov 07, 2001
Posts: 27
Hello there
Does Anybody knows how I can output a number in Hex Notation rather then the default decimal notation.
Thanks
Udayan Naik
Ranch Hand

Joined: Oct 18, 2000
Posts: 135
I think Integer.toHexString(int) isthe one you are looking for.
------------------
Udayan Naik
Sun Certified Programmer for the Java 2 Platform


Udayan Naik<BR>Sun Certified Programmer for the Java 2 Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Outputting Number is Hex Format