Floor

Return a Single specifying the largest hole number smaller than x.

Syntax: x = Floor(x)

The required x argument is a Single or valid numeric expression .

Requires:
   
Include <libs\fp32ext.bas>

Example:

Dim x as Single
x=15.06

x=Floor(x) ' x is 16.0

Also See: