Skip to content

Operators

The standard operators supported in expressions are the following:

+ Add

Addition

Expression
[Cost] + [Vat]
Expression
[Cost] + 1000

- Subtract

Subtraction

Expression
[Total] - [Discount]
Expression
[Total] - 100

* Multiply

Multiplication

Expression
[Cost] * Quantity
Expression
[Total] * 0.175

/ Divide

Division

Expression
[Total Cost] / [No. of Occupants]
Expression
[Cost] / 5

% Modulus

Divides the value of one expression by the value of another, and returns the remainder.

Expression
[Value] % [Cost]
Expression
[Value] % 5

^ Power

The power operator a^b calculates the b-th power of a.

Expression
[Value] ^ [Numeric]
Expression
[Value] ^ 3

Note

Operators can be used together.

[Cost] / 100 \* 17.5

[Cost] + ( [Cost] / 100 \* 17.5 )

Inequality operators are also available for use in logical functions.