Skip to main content

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​

InputTypeRequiredDefaultWhat it is
ValueNumberYesThe number to check.
OperatorStringNoequalHow to compare.
OtherNumberYesThe number to compare with.
ToleranceNumberNo0Numbers this close count as equal, e.g. 0.01 for amounts in cents.