NumberFormat; //Java 中給數字左邊補0 public class ... 前面補充0 // 4 代表長度為4 // d 代表引數為正數型 String str = String.format("%04d", ...
確定! 回上一頁