fork(3) download
  1. using System;
  2. using System.Globalization;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. float f = 1590270.2018f;
  9. var s = f.ToString("N3", CultureInfo.GetCultureInfo("ru-RU"));
  10. Console.WriteLine(s);
  11. }
  12. }
Success #stdin #stdout 0.03s 15192KB
stdin
Standard input is empty
stdout
1 590 270,000