So view this project Here and view the definition of the block. Sorry if it is too long and you could make it shorter.
Instead of ten different things like
(one for each digit) you could just
(or + if the digit is ≥5).
But I wouldn't do it by looking at digits at all; that limits you to integers. Instead I'd see if the difference is less than 1% of one of the numbers:
... or even specify the maximum difference (relative to the numbers' average) as a parameter :
Notes
- Within the code I used "pct." for percentage, because "%" didn't work (apparently it has a special meaning, so can't be used as a plain text - or perhaps it can, with a trick I don't know).
- For clarity I used intermediate results, but the implementation code may be condensed to a single block:
Sorry I only started snap about a few moths ago
Anyways I did not know you could even do that
You’re welcome!
BTW designing a “≈” function is quite an original thought.