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

    Parameters

    • x: number

      A number

    Returns number

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