Double : Double : Data Type C# Examples


C# Examples » Data Type » Double »

 

Double









    
using  System;

class  MainClass
{
        public  static  void  Main(string[]  args)
        {
        Console.WriteLine("double.Epsilon:  {0}",  double.Epsilon);
        Console.WriteLine("double.PositiveInfinity:  {0}",double.PositiveInfinity);
        Console.WriteLine("double.NegativeInfinity:  {0}",double.NegativeInfinity);
        Console.WriteLine("double.MaxValue:  {0}",double.MaxValue);
        Console.WriteLine("double.MinValue:  {0}",double.MinValue);
        }

}
    
   
  
   



Output

double.Epsilon: 4.94065645841247E-324
double.PositiveInfinity: Infinity
double.NegativeInfinity: -Infinity
double.MaxValue: 1.79769313486232E+308
double.MinValue: -1.79769313486232E+308


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Double