floor( x )

The greatest integer less than or equal to x in SageMath. Not defined for complex numbers.

Plot on the real axis:

Examples:

Related functions: ceil frac

Function category: basic functions sagemath-docs