Math.floor

Math.floor

Class Overview | Class Members | This Package | All Packages

Syntax
public static native double floor( double a )
Parameters
a
a double value.
a
an assigned value.
Returns
the largest (closest to positive infinity) double value that is not greater than the argument and is equal to a mathematical integer.
Description
Returns the largest (closest to positive infinity) double value that is not greater than the argument and is equal to a mathematical integer.