Numeric Formatting:Custom Format Strings:Decimal Point
using System; public class DecimalPoint { public static void Main() { Console.WriteLine("{0:#####.000}", 75928.3); Console.WriteLine("{0:##.000}", 1456.456456); } }