Returns the smallest integer that is greater than or equal to the specified double value.
Input Parameters
val
Integer The value whose ceiling is to be returned.
Return Value
Integer The smallest (closest to negative infinity) floating-point value that is greater than or equal to the argument and is equal to a mathematical integer.