Delphi.format填充0

1、

string str := Format('DR%.8d', [100]);// 一共8位数字不够的补零

 

2、

3、

4、

5、

 

posted @ 2018-07-19 11:50  CodeSkill  阅读(1808)  评论(0编辑  收藏  举报