Double.MIN_NORMAL in Java

Double.MIN_NORMAL: This is available in java.lang.Double class of Java.

Syntax:

double java.lang.Double.MIN_NORMAL

 A constant holding the smallest positive normal value of type double (i.e. 2.2250738585072014E-308)

Approach

Java

public class DoubleMinNormal {
    public static void main(String[] args) {

        System.out.println(Double.MIN_NORMAL);

    }
}

Output:

2.2250738585072014E-308

No comments:

Post a Comment