fork(4) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. decimal TotalDue = 106M;
  8. string formatted = TotalDue.ToString("0.00");
  9. Console.Write(formatted);
  10. }
  11. }
Success #stdin #stdout 0.04s 36984KB
stdin
Standard input is empty
stdout
106.00