Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

D toc



Computes the ceiling of a value, which is the smallest integer that is greater than the input value. Input can be an Integer, a Decimal, a column reference, or an expression. 

D s

Numeric literal example:

D code

derive type:single value: CEILING(2.5)

Output: Generates a column with each row's value 3.

Expression example:

D code

derive type:single value: CEILING(MyValue + 2.5)

Output: Generates a column containing the smallest integer that is greater than the sum of 2.5 and the value in the MyValue column.

D s

D code

derive type:single value: CEILING(numeric_value)

ArgumentRequired?Data TypeDescription
numeric_valueYstring, decimal, or integerName of column or Decimal or Integer literal to apply to the function

D s lang notes


Name of the column, numeric literal, or numeric expression.

  • Missing input values generate missing results.
  • Literal numeric values should not be quoted. Quoted values are treated as strings. 
  • Multiple columns and wildcards are not supported.

D s

Required?Data TypeExample Value
YesString (column reference) or Integer or Decimal literal2.5

D s

Example - Exponential functions

Include Page
EXAMPLE - Rounding Functions
EXAMPLE - Rounding Functions

D s also