using System;
using System.Globalization;
public class Program
{
public static void Main()
CultureInfo ci = new CultureInfo("fr-FR");
decimal integral = Convert.ToDecimal("12345");
Console.WriteLine(integral.ToString("## ##0,0", ci));
}