DIV
Applies to: CELONIS 4.0 CELONIS 4.2 CELONIS 4.3 CELONIS 4.4 CELONIS 4.5 CELONIS 4.6
Description
The division operator computes the quotient of two values.
The division operator can be applied to INT or FLOAT columns or constants. The data type of the result is always a FLOAT (Since: CELONIS 4.5). If the values of the second input column or constant (the divisor) is 0 (division by zero), the resulting value is set to null.
Syntax
DIV ( table.column1 , table.column2 )
table.column1 / table.column2
Examples
[4] Divide a column of type INT by a constant INT value. Note, that the division by zero for the second and third row does not result in an error, but returns null. |
[5] Divide values of multiple INT and FLOAT columns.
|