You are viewing the documentation for Blueriq 15. Documentation for other versions is available in our documentation directory.
DIV
Returns the integer portion of a division.
Syntax
number1 DIV number2
Inputs
number1 - Dividend; number or attribute of some type of number to be divided by another number value.
number2 - Divisor; number or attribute of some type of number to divide by.
Return type
integer
Examples
Suppose the following data model. Attribute Child.pocketMoney is of type currency and has a value of 2.50. Attribute Bonus.standard is of type percentage and has a value of 5.00.
Entity.attribute | Value | Type |
---|---|---|
Child.pocketMoney | 2.50 | Currency |
Bonus.standard | 5.00 | Percentage |
Expression | Result | Type |
---|---|---|
Child.pocketMoney DIV 1.00 | 2 | Integer |
Bonus.standard DIV 5 | 1 | Integer |
6 DIV 4.50 | 1 | Integer |
Overview
Content Tools