Number Compare
Compare two numbers and signal outputs based on the results.
Details
![NumberCompare.PNG](/wiki/snapwiki/download/Doom/Number_Compare/WebHome/NumberCompare.PNG?rev=1.2) | Object: Number Compare
Category: Flow
|
INPUTS |
---|
![Test.png](/wiki/snapwiki/download/Doom/Number_Compare/WebHome/Test.png?width=64&rev=1.2) | Test Numbers | Compare the LHS number to the RHS number. Any outputs will send a signal depending on the result. |
Outputs
OUTPUTS |
---|
![LessThan.png](/wiki/snapwiki/download/Doom/Number_Compare/WebHome/LessThan.png?width=64&rev=1.2) | Less Than (Number) | When tested, if the LHS number is less than the RHS, send the signal. The activator is unchanged from the input signal. |
![GreaterThan.png](/wiki/snapwiki/download/Doom/Number_Compare/WebHome/GreaterThan.png?width=64&rev=1.2) | Greater Than (Number) | When tested, if the LHS number is greater than the RHS, send the signal. The activator is unchanged from the input signal. |
![AtMost.png](/wiki/snapwiki/download/Doom/Number_Compare/WebHome/AtMost.png?width=64&rev=1.2) | At Most (Number) | When tested, if the LHS number is less than or equal to the RHS, send the signal. The activator is unchanged from the input signal. |
![AtLeast.png](/wiki/snapwiki/download/Doom/Number_Compare/WebHome/AtLeast.png?width=64&rev=1.2) | At Least (Number) | When tested, if the LHS number is greater than or equal to the RHS, send the signal. The activator is unchanged from the input signal. |
![Equal.png](/wiki/snapwiki/download/Doom/Number_Compare/WebHome/Equal.png?width=64&rev=1.2) | Equal (Number) | When tested, if the LHS number is equal to the RHS, send the signal. The activator is unchanged from the input signal. |
![NotEqual.png](/wiki/snapwiki/download/Doom/Number_Compare/WebHome/NotEqual.png?width=64&rev=1.2) | Not Equal (Number) | When tested, if the LHS number is not equal to the RHS, send the signal. The activator is unchanged from the input signal. |
Properties
PROPERTIES |
---|
Property | Type | Description |
Name | String | The name of this object. Rename an object to make it easy to identify. |
LHS | Number | The left hand side of the comparison can be a fixed value or a variable. |
RHS | Number | The right hand side of the comparison can be a fixed value or a variable. |