Number operators
Number operators define conditions based on numbers.
Operator | Description | Example |
---|---|---|
<number> does not equal <number> |
Tests that a number is not equal to another number. |
if the number of purchase events does not equal 3 then... |
<number> equals <number> |
Tests that a number is equal to another number. This is equivalent to the is <number> operator. |
if the number of purchase events equals 3 then... |
<number> is <number> |
Tests that a number is equal to another number. This is equivalent to the equals <number> operator. |
if the number of purchase events is 3 then... |
<number> is at least <number> |
Tests that a number is greater than or equal to another number. |
if the number of purchase events is at least 3 then... |
<number> is at least <number> and less than <number> |
Tests that a number is included in a range in which the first value is included and the last value is excluded. |
if the age of 'the customer' is at least 12 and less than 25 then... |
<number> is at most <number> |
Tests that a number is less than or equal to another number. |
if the age of 'the customer' is at most 18 then... |
<number> is between <number> and <number> |
Tests that a number is included in a range in which both values are included. |
if the age of 'the customer' is between 12 and 25 then... |
<number> is less than <number> |
Tests that one number is less than another. |
if the number of purchase events is less than 3 then... |
<number> is more than <number> |
Tests that one number is greater than another. |
if the number of purchase events is more than 3 then... |
<number> is more than <number> and at most <number> |
Tests that a number is included in a range in which the first value is excluded and the last value is included. |
if the age of 'the customer' is more than 12 and at most 25 then... |
<number> is strictly between <number> and <number> |
Tests that a number is included in a range in which the first value is excluded and the last value is excluded. |
if the age of 'the customer' is strictly between 12 and 25 then... |