public class ArrayTest3 { public static void main(String[] args){ System.out.println(toHex(60)); } //将十进制转为16进制 public static String toHex(int num){ char[] chs = new char[8];//定义容器,存储的是字符,长度为8.一个整数最多8个16进制数 int index = chs.length-1; for(int i = 0;i<8
http://www.zc520.cc/js/62.html <script type="text/javascript"> function JavaDe(){ var monyer = new Array(); var s = document.getElementById('code').value.split("\\"); for (i = 1; i < s.length; i++){ s[i] = s[i].replace('x', ''