摘要:
public static int hexToDecimal(String hex) { int decimalValue = 0; for (int i = 0; i = 'A') { return 10 + ch - 'A'; } else { return ch - '0'; ... 阅读全文
摘要:
1、/** * All possible chars for representing a number as a String */ final static char[] digits = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9... 阅读全文