Float class A Java class that encapsulates the primitive data type, float. The class provides accessor methods that support getting and setting the value. Related terms class, data type, float data type, Java, value Contrast with BigDecimal class, Double class, Integer class