给定一个16进制的字符串,变成10进制数
1 String s = "1af"; 2 //验证方法 3 Integer.parseInt(s,16);
16进制转换
原文:http://www.cnblogs.com/linson0116/p/3563788.html