Min and Max values of datatype float



The class ‘Float’ is a wrapper class for the datatype float, and it has two static variables that contains the minimum and maximum values of the float datatype: MIN_VALUE and MAX_VALUE.
You can print out the min and max values of the float datatype by specifying these variables as arguments to System.out.

The output from the executed code will be:







Search for more Java info on this site here:
Custom Search


One thought on “Min and Max values of datatype float

Please type any questions here.