Ceiling (PQL)

Returns the smallest integer greater 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

Ceiling( <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 ceiling function.
  • Also see Floor and Round functions.

Examples

This example returns "123"

Ceiling(123.456)

This example returns "-7"

Ceiling(-7.0065)