using System;
using System.Globalization;
public class Example
{
public static void Main()
{
float value = 1234567.123456F;
string specifier;
CultureInfo culture;
specifier = "N";
culture = CultureInfo.CreateSpecificCulture("es-ES");
Console.WriteLine(value.ToString(specifier, culture));
culture = CultureInfo.CreateSpecificCulture("fr-CA");
Console.WriteLine(value.ToString(specifier, culture));
}
}