CorMath: Floor

Floor

Returns the next lowest whole integer value.



 Public Function Floor(
	  ByVal Value As Double ) As Double

Parameters

Value
[ByVal] Double. the number to be rounded downward.

Return Values

Double -  The next lowest whole integer value.

Remarks

Negative values will be rounded away from zero. -2.1 will be rounded down to -3.

See Also

Project CorLib Overview

Class CorMath Overview