Numeric Formatting:Custom Format Strings:Percent Notation : Number Format « Development Class « C# / C Sharp
- C# / C Sharp
- Development Class
- Number Format
Numeric Formatting:Custom Format Strings:Percent Notation

using System;
public class PercentNotation
{
public static void Main()
{
Console.WriteLine("{0:##.000%}", 0.89144);
Console.WriteLine("{0:00%}", 0.01285);
}
}
Related examples in the same category