Package java.lang
Class Float

Public Method intValue

int intValue()

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns the integer value of this Float (by casting to an int).

Example

   Float flo = new Float(10);
   int value = flo.intValue();
   Logger.log("integer value: " + value);

The example above returns the float value converted to int type.