Share via


Integer.floatValue

Class Overview | Class Members | This Package | All Packages

Syntax

public float floatValue()

Returns

the int value represented by this object is converted to type float and the result of the conversion is returned.

Description

Returns the value of this Integer as a float.

Overrides

floatValue in class Number