public static int round (float a)

Returns the closest int to the argument, with ties rounding to positive infinity.

Special cases:

Parameters:
a    a floating-point value to be rounded to an integer.

Returns:  the value of the argument rounded to the nearest int value.

See also:
java.lang.Integer.MAX_VALUE, java.lang.Integer.MIN_VALUE