CorMath: Ceiling

Ceiling

Returns the next highest whole integer value.



 Public Function Ceiling(
	  ByVal Value As Double ) As Double

Parameters

Value
[ByVal] Double. The number to round to the next integer.

Return Values

Double -  The next integer.

Remarks

Negative values will round towards zero. If the value is already a whole integer value then that value will be returned.

See Also

Project CorLib Overview

Class CorMath Overview