ceil(val)

Calculates the closest integer value that is greater than or equal to the value of the parameter. For example, ceil(9.03) returns the value 10.

Type: function

Parameter(s):

  • val {Number}:

    An arbitrary number.

Returns:

  • {Number}:

    The next highest integer value.