Function Floor

Floor(v)
The function returns the largest integer that's less than or equal to the specified decimal number. Example:
iNumber1 = Floor(10.12) ' it is 10
iNumber2 = Floor(-10.12) ' it is -11

See also: