Bixby Developer Center

Guides
References

fuzzy-numeric-equality

optional

Constraint that relaxes the equivalence threshold for float values (primitive type decimal). Similar to fuzzy-string-equality, this equivalence definition allows you to specify the true-tolerance and uncertain-tolerance. The distance calculation is simply the absolute value of the difference between both numbers.

Note

You cannot use non-numeric concepts with fuzzy-numeric-equality.

Child Keys

true-tolerance
required
Specifies the threshold below which the equivalence function will return true
uncertain-tolerance
required
Specifies the threshold of which below uncertain-tolerance but above true-tolerance will return uncertain