[TestMethod] public void Test8() { int a = 9; string b = string.Format("{0:000000}", a); string c = a.ToString().PadLeft(6, ‘0‘); }
原文地址:https://www.cnblogs.com/hofmann/p/11263307.html
时间: 2024-11-06 11:30:00
[TestMethod] public void Test8() { int a = 9; string b = string.Format("{0:000000}", a); string c = a.ToString().PadLeft(6, ‘0‘); }
原文地址:https://www.cnblogs.com/hofmann/p/11263307.html