String s1 = new DecimalFormat("000000").format(i);//i为int类型
获取固定长度的数值,不够的左边补0
最新推荐文章于 2023-03-15 19:55:38 发布
String s1 = new DecimalFormat("000000").format(i);//i为int类型