NumberFormat 還蠻好用的 NumberFormat formatter = new DecimalFormat("000000"); String s = formatter.format(-1234.567); // -001235 formatter ...
確定! 回上一頁