Developer Documentation Library > Scripting > Expressions > Operators > Comparison operators > Less than or equal to (<=) operator
 
Less than or equal to (<=) operator
Numeric variables
mammals <= 3
This example is the same as the previous numeric variable example, except that the < operator has been replaced with the <= operator. The expression now selects respondents who gave the Mammals gallery a rating of 3 or less.
Categorical variables
location <= {EUROPE, ASIA_OR_AUSTRALIA, AFRICA}
This example is the same as the previous categorical variable example except that the < operator has also been replaced with the <= operator. The expression now selects respondents who have visited museums in one, two, or three of the specified world regions.
See
Comparison operators