Operators
Deliver scripts supports using arithmetical, comparison, and logical operators to construct conditional statements.
When using operators to construct conditional statements, using parentheses to control the order of precedence is a best practice. Operations inside parentheses are performed first.
Otherwise, Deliver scripts perform operations in the following order.
- Multiplication, division, and remainder
- Addition (arithmetical)
- Comparison - greater than and less than comparisons
- Comparison - equal to or not equal to
- Logical AND
- Logical OR