Package java.lang
Class Integer

Public Method floatValue

float floatValue()

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns the value of this Integer as a float.

Example

   Integer in = new Integer("10");
   float floatInt = in.floatValue();
   Logger.log("float value: " + floatInt);

The example above returns a float value and writes it to the logger.