Number Similarity
00000000-b4b3-4651-8c82-4df0c7f1b9ba
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.
Test two numbers for approximate equality.
Input parameters:
- A → First number for similarity comparison.
- B → Second number for similarity comparison.
- Dt → Allowed discrete steps between numbers.
- Rt → Allowed relative distance between numbers as a factor of the biggest number.
Output parameters:
- Cs → True if the values are similar within either the relative or the discrete thresholds. QQ
- Ds → True if the values are similar within the discrete threshold. QQ
- Rs → True if the values are similar within the relative threshold. QQ