closes #494 also for price (Chapter 3.2.3 at https://www.w3.org/TR/xmlschema-2/ says 18 digits)
This commit is contained in:
@@ -76,11 +76,11 @@ public class ZUGFeRD2PullProvider implements IXMLProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected String priceFormat(BigDecimal value) {
|
protected String priceFormat(BigDecimal value) {
|
||||||
return XMLTools.nDigitFormat(value, 4);
|
return XMLTools.nDigitFormat(value, 18);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected String quantityFormat(BigDecimal value) {
|
protected String quantityFormat(BigDecimal value) {
|
||||||
return XMLTools.nDigitFormat(value, 4);
|
return XMLTools.nDigitFormat(value, 18);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user