Java Reference
In-Depth Information
1. If the argument is NaN, the result is 0.
2. If the argument is negative infinity or any value less than or equal to the
value of Integer.MIN_VALUE, the result is equal to the value of Inte-
ger.MIN_VALUE.
3. If the argument is positive infinity or any value greater than or equal to the
value of Integer.MAX_VALUE, the result is equal to the value of Inte-
ger.MAX_VALUE.
The method's only parameter is of type float. The integer result is re-
turned in a type int.
Search WWH ::




Custom Search