c#中前面不足位数补零的方法

String.Format("{0:D5}",3);
or 3.ToString("D5");
Result: 00003
posted on 2007-09-26 17:30  上午的绝缘杯  阅读(2789)  评论(1)    收藏  举报