Compare numbers
True when the comparison holds, e.g. Amount greater than or equal to 1000; with a tolerance, close numbers count as equal.
Condition in the Number toolkit · id ooa.number/compare · 4 inputs (2 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Value | Number | Yes | The number to check. | |
| Operator | String | No | equal | How to compare. |
| Other | Number | Yes | The number to compare with. | |
| Tolerance | Number | No | 0 | Numbers this close count as equal, e.g. 0.01 for amounts in cents. |