Integer 转String 高位补0

1 String.format("%06",12);//其中0表示补零而不是补空格,6表示至少6位

 

posted @ 2019-08-07 14:40  九月の李大米  阅读(747)  评论(0编辑  收藏  举报