Method EinvoiceDecimal():div() Professional

Divides by a value.

Syntax
:div( <xOther> ) --> oResult
Parameters
<xOther>
The divisor, specified as a numeric value, a character string or an EinvoiceDecimal object. The divisor must not be zero.
Return

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

Description

Divides the value of the object by <xOther>. The quotient is rounded half away from zero to the internal precision of 8 decimal places. If <xOther> is zero, this method raises a runtime 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.