Also known as: Integer Equals
Compares a numeric parameter against a fixed value, using the comparison you choose, and outputs a true/false result.
When to Use
Use Compare numbers to turn a number into an on/off switch: for example, to test which option a dropdown is set to, or whether a value has passed a threshold, and pass the true/false result on to a setting that takes one.
How to Use
Connect a numeric parameter to Parameter Input, choose a comparison Type, and set Compare To. By default the device tests whether the input equals 1. The Parameter Output is true when the comparison holds, and the Result report shows the outcome.
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Parameter Input | Parameter | Yes | A numeric parameter (integer, enum, or float) to compare. Enum (dropdown) values compare by their position in the list, counting from 0. |
Outputs
| Port | Type | Description |
|---|---|---|
| Parameter Output | Parameter | A boolean (true/false) result of the comparison. |
Parameters
Type — The comparison operation to perform. Options:
- Equals (default)
- Less than
- Less than or equal to
- Greater than
- Greater than or equal to
Compare To — The value to compare the input against. Default is 1. Type the value directly; any number is accepted, including values outside 0 to 1.
Reports
| Report | Description |
|---|---|
| Result | Displays whether the comparison evaluated to true or false. |