fork download
  1. using System;
  2. using System.Globalization;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. Decimal dec = new Decimal(-134563456345634564.4321);
  9. CultureInfo culture = CultureInfo.CreateSpecificCulture("tr-TR");
  10. culture.NumberFormat.CurrencyNegativePattern = 8;
  11. String str = String.Format(culture, "{0:C}", dec);
  12. Console.Write(str);
  13. }
  14. }
Success #stdin #stdout 0.03s 26764KB
stdin
Standard input is empty
stdout
-134.563.456.345.635.000,00 ₺