0
点赞
收藏
分享

微信扫一扫

字符串格式化、字符串补0

c一段旅程c 2023-01-27 阅读 157

不够6位用0在左边补0
Long count = getCountByPredicate(booleanExpression);
return String.format("%06d",count);

 



举报

相关推荐

0 条评论