You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.
MULTIPLY (*)
Use the '*' (asterisk) sign to multiply values of some type of number.
Syntax
number1 * number2 * ...
Inputs
number1 - First factor; number or attribute of some type of number.
number2 - Second factor; number or attribute of some type of number.
Return types
number * number = number
integer * integer = number
currency * currency = number
percentage * percentage = number
number * integer = number
integer * number = number
currency * number = currency
currency * integer = currency
percentage * number = percentage
percentage * integer = percentage
- currency * percentage = currency
Examples
Suppose the following data model.
Entity.attribute | Value | Type |
---|---|---|
Child.pocketMoney | 2.50 | Currency |
Bonus.standard | 5.00 | Percentage |
Expression | Value | Type |
---|---|---|
Child.pocketMoney * 1.00 | 2.50 | Currency |
Child.pocketMoney * 2 | 5.00 | Currency |
5.00 * 3 | 15.0000 | Number |
Bonus.standard * 5 | 25.00 | Percentage |
Overview
Content Tools