Numeric Formatting:Custom Format Strings:Number Prescaler
using System;
public class NumberPrescaler
{
public static void Main()
{
Console.WriteLine("{0:000,.##}", 158847);
Console.WriteLine("{0:000,,,.###}", 1593833);
}
}
Related examples in the same category