## Uses of Class
java.lang.Float

- Packages that use Float
  Package | Description
  --- | ---
  java.lang |

- - ### Uses of Float in java.lang

    Fields in java.lang with type parameters of type Float
    Modifier and Type | Field and Description
    --- | ---
    `static Class<Float>` | Float.`TYPE` The `Class` instance representing the primitive type `float`.

    Methods in java.lang that return Float
    Modifier and Type | Method and Description
    --- | ---
    `static Float` | Float.`valueOf(float f)` Returns a `Float` instance representing the specified `float` value.
    `static Float` | Float.`valueOf(String s)` Returns a `Float` object holding the `float` value represented by the argument string `s`.

    Methods in java.lang with parameters of type Float
    Modifier and Type | Method and Description
    --- | ---
    `int` | Float.`compareTo(Float anotherFloat)` Compares two `Float` objects numerically.

Copyright © 2025 API Design. All Rights Reserved.