Floor Procedure

Returns the largest integer that is less than or equal to x.
Declaration
function Floor(x as Number) as Number

Parameters

Return value

Number — Integer value.

Example

Code
print Floor(5.5)
print Floor(-6.5)
Output
5
-7