Server User Guides > Survey Tabulation > Advanced expressions > Operators > Comparison operators > Greater than (>) operator
 
Greater than (>) operator
1. Numeric variables
mammals > 3
This example is the same as the previous numeric variable example, except that now it uses the > operator. The expression now selects respondents who gave the Mammals gallery a high rating (more than 3).
2. Categorical variables
location > {EUROPE, ASIA_OR_AUSTRALIA, AFRICA}
This example is the same as the previous categorical variable example except that now it uses the > operator. The > operator returns True if the category list on the left side is a proper superset of the category list on the right side. So the expression in this example selects respondents who have visited museums in the three specified regions and at least one other.
See also
Comparison operators