floor expression function

Returns the largest integer not greater than a number.

All Usage Examples

See also: ceil, trunc, int, round

Usage

floor(number)

Examples

floor(10.2)=10
floor(-10.2)=-11