Package java.lang
Class Math

Public Method ceil

static float ceil(float a)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns the smallest (closest to negative infinity) float value that is greater than or equal to the argument and is equal to a mathematical integer.

Note

Example

   float data = Math.ceil(3.2315523f);

The example above returns a value of 4.