Windward Equations Operators Reference
Here is the complete list of Windward equation operators.
Valid operands for these operators are:
- numbers
- Boolean values
- variable references (e.g. "${VariableName}") whose values are numbers or Boolean values
- Windward functions that return a number or Boolean value
- other equations that return a number or Boolean value
When an equation is evaluated, the value of a variable is substituted for its reference.
The logical operators expecting a Boolean value treat NULL as false.
Operator | Description |
---|---|
( | Open parenthesis |
) | Close parenthesis |
, | Comma |
* | Multiplication |
/ | Division |
div | Division |
% | Modulus - divide the left-hand operand by the right-hand operand and return the remainder |
mod | Modulus - divide the left-hand operand by the right-hand operand and return the remainder |
+ | Addition |
- | Subtraction |
= | Assignment |
== | Comparison - if the two operands are equal return true; else return false |
eq | Equal |
!= | Not equal - return true if the operands are not equal; else return false |
ne | Not equal - return true if the operands are not equal; else return false |
< | Less than - return true if the left-hand operand is less than the right-hand operand; else return false |
lt | Less than - return true if the left-hand operand is less than the right-hand operand; else return false |
> | Greater than - return true if the left-hand operand is greater than the right-hand operand; else return false |
gt | Greater than - return true if the left-hand operand is greater than the right-hand operand; else return false |
<= | Less than or equal to - return true if the left-hand operand is less than or equal to the right-hand operand; else return false |
le | Less than or equal to - return true if the left-hand operand is less than or equal to the right-hand operand; else return false |
>= | Greater than or equal to - return true if the left-hand operand is greater than or equal to the right-hand operand; else return false |
ge | Greater than or equal to - return true if the left-hand operand is greater than or equal to the right-hand operand; else return false |
&& | Logical AND - return true if both operands are true, else return false |
and | Logical AND - return true if both operands are true, else return false |
|| | Logical OR - return true if either or both operands are true, else return false |
or | Logical OR - return true if either or both operands are true, else return false |
! | Logical NOT - return true if the operand is false; else return false |
not | Logical NOT - return true if the operand is false; else return false |