字符串和數字閒的轉換 int i = Integer.parseInt([String]); 或i = Integer.parseInt([String],[int radix]); String s = Integer.toString(i);