Comparison Operators in TM1® Rules
The comparison operators compare values in the
formula portion of a rule calculation statement.
Operator |
Meaning |
---|---|
> |
Greater than |
< |
Less than |
>= |
Greater than or equal to |
<= |
Less than or equal to |
= |
Equal to |
<> |
Not equal to |
To compare two string values, insert the @ symbol before the comparison operator, as in the following example:
IF ('A' @= 'B',0,1) yields the number 1.