using System;
using System.Globalization;
public class Example
{
public static void Main()
{
double number = .123456;
Console.WriteLine(number.ToString("P", CultureInfo.InvariantCulture));
Console.WriteLine(number.ToString("P", CultureInfo.CreateSpecificCulture("hr-HR")));
Console.WriteLine(number.ToString("P1", CultureInfo.InvariantCulture));
}
}
/*
12.35 %
12,35%
12.3 %
*/