Float Literals : Float : Data Type C# Examples


C# Examples » Data Type » Float »

 

Float Literals









    
using  System;

class  MainClass
{
      static  void  Main()
      {
            Console.WriteLine("{0}",  3.1416F);          //  float  literal
      }
}
    
   
  
   



Output

3.1416


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Float