Method EinvoiceDecimal():sub() Professional

Subtracts a value.

Syntax
:sub( <xOther> ) --> oResult
Parameters
<xOther>
The value to subtract, specified as a numeric value, a character string or an EinvoiceDecimal object.
Return

A new EinvoiceDecimal object with the difference of the value and <xOther>.

Description

Subtracts <xOther> from the value of the object. The subtraction is exact and never introduces a floating point rounding error.

The method returns a new EinvoiceDecimal object. The value of the object itself is not changed.

Feedback

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.