字符串补齐

左补齐0,补齐2位;就为了好看;

1 string.Format("{0,-1:D2}",i + 1)

 

 

posted @ 2016-12-14 19:53  喜爱糖葫芦  阅读(154)  评论(0编辑  收藏  举报