Format float point value as number
using System; class Sample { public static void Main() { Console.WriteLine("(N) Number: . . . . . . . . . {0:N}\n" + -123, -123.45f); } }