Quota Setup > Expression quotas > Defining expression quotas > Advanced expressions > Comparison operators in expression quotas
 
Comparison operators in expression quotas
When you build an expression, you can use the comparison operators to compare the value in a variable with a specified value of the same type. For example, you can compare the value in a numeric variable with a numeric value and the value in a text variable with a text string. The operators are also valid with other variable types. Refer to the UNICOM Intelligence Developer Documentation Library for more details.
Operator
Meaning
Used with
=
Equal to
Numeric and text variables
<>
Not equal to
Numeric and text variables
>
Greater than
Numeric variables
<
Less than
Numeric variables
>=
Greater than or equal to
Numeric variables
<=
Less than or equal to
Numeric variables
For example:
Expression
Selects
visits > 5
Respondents for whom the visits numeric variable holds a value greater than 5
visits <= 5
Respondents for whom the visits numeric variable holds a value less than or equal to 5
See also
Advanced expressions
Specifying expressions using the advanced method
Logical operators in expression quotas
Functions
Arithmetic operators in expression quotas
Operator precedence in expression quotas