fork(5) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. double value = 123456.789;
  8. Console.WriteLine("+--------------------+");
  9. Console.WriteLine(String.Format("|{0,20:#,##0}|", value));
  10. Console.WriteLine("+--------------------+");
  11. }
  12. }
Success #stdin #stdout 0.04s 37008KB
stdin
Standard input is empty
stdout
+--------------------+
|             123,457|
+--------------------+