using System;
using System.Globalization;
public class Example
{
public static void Main()
{
float value = 12345.62901F;
string specifier;
CultureInfo culture;
specifier = "G";
culture = CultureInfo.CreateSpecificCulture("eu-ES");
Console.WriteLine(value.ToString(specifier, culture));
Console.WriteLine(value.ToString(specifier, CultureInfo.InvariantCulture));
}
}
//12345,63
//12345.63