Floor

Returns the largest integer less than or equal to a given number. 

  • Returned Output: Numeric
  • Library: PQL \ Common \ Math
  • Version: 2018.00.000
  • Compatibility:
    • Can be combined with and other PQL function throughout the application.
    • It CANNOT be used with MDX or VBA functions. But it can be used on MDX-based content in other parts of the application.

Syntax

Floor( <Numeric> )

* Click on the function's arguments above for more details on the input values.

Comments
  • The numeric value cane be any type of number: integer, float etc.
Different Function types
  • This function is like the Excel floor function.
  • Also see Ceiling and Round functions.

Examples

This example returns "5"

Floor(5.95)

This example returns "-6"

Floor(-5.15)