Float.MIN_NORMAL in Java

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

Syntax:

float java.lang.Float.MIN_NORMAL

A constant holding the smallest positive normal value of type float (i.e. 1.17549435E-38).

Approach

Java

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

        System.out.println(Float.MIN_NORMAL);

    }
}

Output:

1.17549435E-38

No comments:

Post a Comment