Get Min and Max values of data type float in Java
Description
The following code shows how to get Min and Max values of data type float.
Example
/* w w w . j a v a 2 s .c om*/
public class Main {
public static void main(String[] args) {
System.out.println(Float.MIN_VALUE);
System.out.println(Float.MAX_VALUE);
}
}
The code above generates the following result.
Home »
Java Tutorial »
Java Data Type »
Java Tutorial »
Java Data Type »