The mathFloor() function returns the largest integer less than or equal to a given number.

A number

A number representing the largest integer less than or equal to the specified number.

  • Returns the greatest integer less than or equal to its numeric argument.

    Parameters

    • x: number

      A numeric expression.

    Returns number