[Solved] Number formating spaces every 3 digits


You can format it with commas, and replace the commas with spaces

var result = inputNumber.ToString("N0",CultureInfo.InvariantCulture).Replace(',', ' ');

4

solved Number formating spaces every 3 digits