Ceil Function

Returns the value specified rounded up to the nearest Integer.

Syntax
result = Ceil( value )

Parameters
value | Double | The value you want the ceiling of.

Return Value
Result | Double | The ceiling of value.

# Notes

The Ceil function returns the value passed to it rounded up to the nearest Integer.

# Examples

This example uses the Ceil function to return ceiling of a number.

Dim d as Double
d=Ceil(1.234) //returns 2

# See Also

Floor, Round functions.