Floor Function

Returns the value specified rounded down to the nearest Integer.

Syntax

result = Floor( value )


Parameters

value

Double

The value you want the floor of.


Return Value

Result

Double

The floor of value.



Notes

The Floor function returns the value passed to it rounded down to the nearest Integer.


Example

This example uses the Floor function to return floor of a number.

Dim d as Double
d=Floor(1.234)  //returns 1

See Also

Ceil, Round functions.