Compare Threshold
compare_thresholdCompare two numeric expressions exactly and get a threshold verdict, including the shortfall when the threshold is not met.
Instructions
Exact threshold check with a verdict and the shortfall when it fails. Use calc_exact, not this, when you want the computed VALUE rather than a threshold comparison.
a OP b. Both sides are evaluated exactly and printed as fractions — a
threshold comparison written out cannot be gotten backwards. Example:
('1/25', '>', '0.05').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Left-hand numeric expression, evaluated exactly | |
| b | Yes | Right-hand numeric expression, evaluated exactly | |
| op | Yes | Comparison operator: one of ==, !=, >, >=, <, <= ('=' also accepted for ==) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||