Share via


Math.ceil

Class Overview | Class Members | This Package | All Packages

Syntax

public static native double ceil( double a )

Parameters
  • a
    a double value.
Returns

the smallest (closest to negative infinity) double value that is not less than the argument and is equal to a mathematical integer.

Description

Returns the smallest (closest to negative infinity) double value that is not less than the argument and is equal to a mathematical integer.