
MathComparison
Returns the boolean result of: [a] [operator] [b]
This handler performs a numeric comparison of two parsed variables.
You specify the operands in the properties 'a' and 'b'. This handler will try to lookup and parse variables named by the 'a' and 'b' properties. If a variable by that name does not exist, the handler will try to parse the property itself, assuming you entered a fixed number. If any parsing fails, the operand is set to zero.
All variables are parsed and processed as double floating-point numbers.
You specify the type of operation in the 'operator' property. The following operators are supported:
= | Equals |
|---|---|
== | Equals |
!= | Not equals |
<> | Not equals |
< | Less than (a<b) |
> | Greater than (a>b) |
<= | Less than or equals (a<=b) |
>= | Greater than or equals (a>=b) |
If the 'operator' property is not one of the above, the handler will be disabled during initialization.