Method EinvoiceDecimal():round() Professional
Rounds the value to a number of decimal places.
:round( [<nDp>] ) --> oResult
A new EinvoiceDecimal object with the rounded value.
Rounds the value of the object to <nDp> decimal places. Values exactly halfway between two results are rounded away from zero. The rounded value can be used in further exact calculations without loss of precision.
The method returns a new EinvoiceDecimal object. The value of the object itself is not changed.
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.