public class Try
{
public static void main(String[] args)
{
System.out.println(Integer.toHexString(4500));
System.out.println(Integer.parseInt(Integer.toString(1194), 16));
}
};
Search
Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts
Friday, September 19, 2008
Hex to int VS int to hex
Subscribe to:
Posts (Atom)