Numeric Formatting:Standard Format Strings:Currency : Number Format « Development Class « C# / C Sharp
- C# / C Sharp
- Development Class
- Number Format
Numeric Formatting:Standard Format Strings:Currency

using System;
public class Currency
{
public static void Main()
{
Console.WriteLine("{0:C}", 33345.8977);
Console.WriteLine("{0:C}", -33345.8977);
}
}
Related examples in the same category