Method EinvoiceDecimal():cmp() Professional
Compares the value with another value.
:cmp( <xOther> ) --> nResult
-1 if the value is less than <xOther>, 1 if the value is greater than <xOther>, or 0 if both values are equal.
Compares the value of the object with <xOther>. The comparison is exact, so no tolerance for rounding errors is needed or applied.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.