Share via


Class java.lang.Float

Class Members | This Package | All Packages

java.lang.Object
   |
   +----java.lang.Number
           |
           +----java.lang.Float

public final class Float** extends Number

The Float class wraps a value of primitive type float in an object. An object of type Float contains a single field whose type is float.

In addition, this class provides several methods for converting a float to a String and a String to a float, as well as other constants and methods useful when dealing with a float.