using System;
using System.Globalization;
public class Example
{
public static void Main()
{
double value;
value = -1234567.1234567;
Console.WriteLine(value.ToString(CultureInfo.InvariantCulture));
Console.WriteLine(value.ToString(CultureInfo.CreateSpecificCulture("en-GB")));
Console.WriteLine(value.ToString(CultureInfo.CreateSpecificCulture("de-DE")));
}
}