Eclipse,Netbeans,Java,PHP,C/C++/C#,.NET,Visual Studio
Search
Friday, September 19, 2008
Hex to int VS int to hex
public class Try { public static void main(String[] args) { System.out.println(Integer.toHexString(4500)); System.out.println(Integer.parseInt(Integer.toString(1194), 16)); } };
No comments:
Post a Comment