You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.attributeValueType
Child.pocketMoney2.50Currency
Bonus.standard5.00Percentage
ExpressionValueType
Child.pocketMoney * 1.002.50Currency
Child.pocketMoney * 25.00Currency
5.00 * 315.0000Number
Bonus.standard * 525.00Percentage


  • No labels