[Back]  [Print Page]
Formula Operators
Keywords: x

Description: Describes the valid operators that can be used when building formulas in a survey.

 The following table presents all the operators that can be used in Conditional Statements and Formulas:

Note:  For information about adding conditional statements and formulas to your surveys, see Advanced Ask if Logic and Formulas.

Name Symbol
Add x+y
Subtract x-y
Multiply x*y
Divide x/y
Power x^y
Remainder x%y
   
Equal x==y
Not Equal x!=y
Greater Than x>y
Less Than x<y
Greater Than or Equal     x>=y
Less Than or Equal x<=y
   
Logical And x&&y
Logical Or x||y
Parentheses (x,y,...)
   
List literal [x,y,...]
List element x[y]