using System;
using System.Globalization;
public class MainClass
{
public static void Main()
{
double value = .56;
Console.WriteLine(value.ToString("0.0", CultureInfo.InvariantCulture));
// Displays 0.6
value = 1234567890;
Console.WriteLine(value.ToString("#,#", CultureInfo.InvariantCulture));
// Displays 1,234,567,890
Console.WriteLine(value.ToString("#,#", CultureInfo.CreateSpecificCulture("el-GR")));
// Displays 1.234.567.890
}
}