Floor

Value = Floor ( Number )

Return the largest integral value that is not greater than Number.

Examples

PRINT Floor(Pi)
3

PRINT Floor(-Pi)
-4

When Number is a Float, that function is a synonymous of Int

See also