NumberFormat; //Java 中给数字左边补0 public class NumberFormatTest { public static ... 4 代表长度为4 // d 代表参数为正数型String str = String.format("%04d", ...
確定! 回上一頁