String.Format("{0:D5}",3); or 3.ToString("D5"); Result: 00003 相关文章: 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2021-05-25 2021-08-28 2022-12-23 2022-12-23