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.

  1. Multiplication, division, and remainder
  2. Addition (arithmetical)
  3. Comparison - greater than and less than comparisons
  4. Comparison - equal to or not equal to
  5. Logical AND
  6. Logical OR