Source: Free Software Developer ( Martin Conrad)
The format of string data returned by the getTotalizer is unclear. It should be clarified.
Since totalizer values (e.g. grand total) may exceed limits of receipt total values, it is not clear that such values may fit into values described as type currency in the UPOS specification. In addition, there is no specification which kind of data type shall be used for totalizers.
Expecting that OPOS uses CURRENCY, POS for .NET decimal and Java implementations perhaps BigDecimal for totalizers, getTotalizer should return values with decimal point as returned by the in-built string conversions. For example, a totalizer of 12345.67 should be returned as "12345.67".
Reported: UPOS 1.15 — Mon, 23 Jan 2023 10:56 GMT
Updated: Tue, 24 Jan 2023 16:17 GMT
UPOS1151 — FiscalPrinter: Unclear string format for totalizer values in getTotalizer method
- Key: UPOS1151-21
- OMG Task Force: UnifiedPOS 1.15.1 RTF