Double.ToString(String format, CultureInfo info)
using System;
using System.Globalization;
using System.Windows.Forms;
public class MainClass
{
static void Main() {
CultureInfo germany = new CultureInfo( "de-DE" );
double money = 123.45;
string localMoney = money.ToString( "C", germany );
Console.WriteLine( localMoney );
}
}
Related examples in the same category