The mathCeil() function always rounds a number up to the next largest integer.

A number

The smallest integer greater than or equal to the given number.

  • Returns the smallest integer greater than or equal to its numeric argument.

    Parameters

    • x: number

      A numeric expression.

    Returns number