Format float point value as fixed point

image_pdfimage_print
   
 

using System;
class Sample 
{

    public static void Main() 
    {
       Console.WriteLine("(F) Fixed point:. . . . . . . {1:F}
" + -123, -123.45f); 
    }
}

   
     


This entry was posted in Data Types. Bookmark the permalink.