[taxinvoice.scm] use fmtnumeric to render discount percentage

This commit is contained in:
Christopher Lam 2023-02-18 13:01:12 +08:00
parent 87ff5f1191
commit 2acba0ea18

View File

@ -58,7 +58,7 @@
(gnc:make-gnc-monetary curr amt) #f) acc)))
(((= gncTaxTableEntryGetAmount percent) . rest)
(lp rest
(cons (string-append (gnc:default-html-number-renderer percent #f) "%")
(cons (string-append (fmtnumeric percent) "%")
acc))))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;