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

DIVIDE (/)


Use the '/' (forward slash) sign to divide values of some type of number.


Syntax

 number1 / number2 / ...


Inputs

  • number1 - Dividend; number or attribute of some type of number to be divided by other number values.

  • number2 - Divisor; number or attribute of some type of number to divide by.


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
ExpressionResultType
Child.pocketMoney / 1.002.50Currency
Child.pocketMoney / 21.25Currency
5.00 / 31.6667Number
Bonus.standard / 51.00Percentage