Desktop User Guides > Quota Setup > Expression quotas > Defining expression quotas > Advanced expressions > Arithmetic operators in expression quotas
 
Arithmetic operators in expression quotas
You can define quotas in which the quota characteristics are based on the results of arithmetic calculations. The arithmetic calculations consist of numeric variables, numeric values, and numeric expressions all joined by arithmetic operators.
Operator
Operation
Description
+
Addition
Add numeric values, numeric variables, or numeric expressions
-
Subtraction
Subtract one numeric value, numeric variable, or numeric expression from another such value, variable or expression
/
Division
Divide one numeric value, numeric variable, or numeric expression by another such value, variable or expression
*
Multiplication
Multiply two numeric values, numeric variables, or numeric expressions
Example
The following expression defines the quota characteristics for respondents who visited the museum more than five times prior to the year the survey was conducted:
visits - visits12 > 5
visits and visits12 are both numeric variables. visits records the total number of previous visits each respondent made to the museum and visits12 records the number of visits each respondent made in the previous 12 months. This expression subtracts the number of visits made in the previous 12 months from the total number of visits and selects respondents for whom the result is greater than 5.
See also
Advanced expressions
Specifying expressions using the advanced method
Comparison operators in expression quotas
Logical operators in expression quotas
Functions
Operator precedence in expression quotas