CEILING (real-number [,KIND]) Class: Elemental function - Generic Returns the smallest integer greater than or equal to its argument. The result is of type default integer (unless KIND specifies a different integer KIND). The value of the result is equal to the smallest integer greater than or equal to the real-number. The result is undefined if the value cannot be represented in the default integer range.