1、String.format("%08d", ***)
%d,代表整数类型(十进制),前边%08d表示输出宽度为8,不足8位的补0
posted on 2016-08-22 12:14 shufeixue 阅读(149) 评论(0) 收藏 举报