Double: Epsilon, Positive/Negative Infinity and Max/Min Value : double « Data Type « C# / CSharp Tutorial






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);
    }

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








2.26.double
2.26.1.Double: Epsilon, Positive/Negative Infinity and Max/Min Value
2.26.2.double const
2.26.3.comparison between double values
2.26.4.Specifying a Literal double
2.26.5.Exponential Notation