Ceil

Description:              This function returns the smallest integer greater than or equal to a number (the ceiling).

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      Ceil(X)

Parameters:             X    { numeric }  { required }  { no default: }

                                                Any numeric expression for which the ceiling should be determined.

Comments:               This function performs function similar to that of the Int function, except that it goes to the next highest number.

Example:

a = Ceil(1.00);

b = Ceil(1.01);

c = Ceil(1.99);

The values of a, b and c will be 1, 2 and 2 respectively.

See Also:

Int | Step | Math Functions