Method EinvoiceDecimal():toNumber() Professional

Converts the value to a numeric value.

Syntax
:toNumber() --> nValue
Return

A numeric value.

Description

Converts the value of the object to an Xbase++ numeric value.

Note: the numeric value is a floating point number and is therefore subject to binary rounding. This method should only be used if a numeric value is required, for example to pass the value to a function which does not support EinvoiceDecimal objects. Use :toFixed() or :toPlain() to display a value, and the arithmetic methods of the class for further calculations.

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.