Developer Documentation Library > Scripting > Expressions > Operators > Comparison operators > Greater than (>) operator
 
Greater than (>) operator
Numeric variables
mammals > 3
This example selects respondents who gave the Mammals gallery a high rating (more than 3).
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
Comparison operators