Carrot reference
Operators
an operator in carrot is one or more symbols or words that compare the value of a field on its left with one or more values (or functions) on its right the valuation of the clause will always result as true carrot operators understand money math and automatically convert currencies when adding or subtracting two different currencies operator list 126,618,248 false true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type operator precedence when an expression makes use of more than one operator, carrot relies on a set of rules to determine the order in which each operator is evaluated carrot follows a standard order of operations when evaluating an expression based on operator precedence operators that have a higher precedence in the table below will be evaluated first 181,361,201 false true center unhandled content type center false unhandled content type center unhandled content type center unhandled content type center false unhandled content type center unhandled content type center unhandled content type center false unhandled content type center unhandled content type center unhandled content type center false unhandled content type center unhandled content type center unhandled content type center false unhandled content type center unhandled content type center unhandled content type center unhandled content type center unhandled content type center unhandled content type center false unhandled content type center unhandled content type center unhandled content type center unhandled content type center unhandled content type center unhandled content type center false unhandled content type center unhandled content type center unhandled content type center false unhandled content type center unhandled content type consider the expression below variablea variableb + variablec without operator precedence, carrot would not know which operation to complete first if we refer to the table above, we see that multiplication has a higher precedence than addition thus, variablea variableb is evaluated first, then the result of that expression is added to variablec of course, addition and multiplication are two well known examples of operator precedence in arithmetic, and it works in the same way in carrot just like arithmetic, if you wanted to change the precedence of the above expression, you would use parenthesis as illustrated below variablea (variableb + variablec) in the above expression, we are telling carrot to explicitly add variableb to variablec before multiplying the result by variablea