A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Outputting Number is Hex Format
Joined: Nov 07, 2001
Nov 12, 2001 20:52:00
Does Anybody knows how I can output a number in Hex Notation rather then the default decimal notation.
Joined: Oct 18, 2000
Nov 12, 2001 22:26:00
I think Integer.toHexString(int) isthe one you are looking for.
Sun Certified Programmer for the
Udayan Naik<BR>Sun Certified Programmer for the Java 2 Platform
I agree. Here's the link:
subject: Outputting Number is Hex Format
How does this print -1
Integer min and max
how to get rid of auto hex numerals display
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014