String.Format an integer to use a thousands separator without decimal places or leading 0 for small integers June 11, 2023 by Tarik This worked for me. String.Format("{0:#,0} {1:#,0}", 5, 5000); // 5 5,000