Operator | Syntax | Description | |
= | a = b | Equal to. | |
This example... | Evaluates to true if... | ||
customerID = "webMethods" | The value of the customerId variable is “webMethods.” | ||
== | a == b | Equal to. | |
This example... | Evaluates to true if... | ||
sku == "WM001" | The value of the sku variable is “WM001.” | ||
!= | a != b | Not equal to. | |
This example... | Evaluates to true if... | ||
quantity != 0 | The value of the quantity variable does not equal 0 (zero). | ||
<> | a <> b | Not equal to. | |
This example... | Evaluates to true if... | ||
state <> 'ME' | The value of the state variable does not equal ME (Maine). | ||
> | a > b | Greater than. | |
This example... | Evaluates to true if... | ||
price > 100 | The value of the price variable is greater than 100. | ||
%companyID% > "Acme" | The value of the companyID variable is greater than Acme. | ||
>= | a >= b | Greater than or equal to. | |
This example... | Evaluates to true if... | ||
%totalPrice% >= 100 | The value of the totalPrice variable is greater than or equal to 100. | ||
companyID >= "Acme" | The value of the companyID variable is greater than or equal to Acme. | ||
< | a < b | Less than. | |
This example... | Evaluates to true if... | ||
quantity < 5 | The value of the quantity variable is less than 5. | ||
companyID < "Acme" | The value of the companyID variable is less than Acme. | ||
<= | a <= b | Less than or equal to. | |
This example... | Evaluates to true if... | ||
unitPrice <= 100 | The value of the unitPrice variable is less than or equal to 100. | ||
companyID <= "Acme" | The value of the companyID variable is less than or equal to Acme. |