摘要: 使用String.format() int number = 214; String str = String.format("%08d", number); 使用DecimalFormat String FORMAT_NUM = "00000000";//位数 DecimalFormat form 阅读全文
posted @ 2021-12-20 19:12 一隅桥畔 阅读(834) 评论(0) 推荐(0)