Is Greater Equal
Overview
IsGreaterEqual is a Relational Expression Node, which compares two Input Values, and returns a Boolean, based on whether or not the Value of Input A
is greater than Input B
. If it is, the returned Value will be true, and if not, it will return false.
Depending on the setting in the Mode
Attribute, the Node may also return true if the Values are equal.
Because the IsGreaterEqual and IsLessEqual compare the difference in Value, these Nodes can only be used with Numerical Types.
Relational Expressions are frequently used alongside Branch Nodes and Logical Operator Nodes to manipulate the flow of logic and are essential when building any complex applications.
Attributes
Attribute | Type | Description |
---|---|---|
| Drop-down | The type of data that will be plugged into the |
| Drop-down | Determines whether equal Values will return true ( |
Inputs
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| Defined in the | The Value to be compared with |
| Defined in the | The Value to be compared with |
Outputs
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Bool | Returns true if |
Examples
Below, in the top two examples, we can see the difference between the IsGreaterEqual
and IsGreater
modes and how even small differences in Value affect the outcome of the evaluation.
|
|
|
|
| 123 | 123 | False |
| 123 | 123 | True |
| 384 | 384.0001 | False |
| 365 | 180 | True |
External Links
Relational operator on Wikipedia.
Last updated