aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-11-28 15:33:45 -0300
committerSebastian <sebasjm@gmail.com>2022-11-28 15:33:45 -0300
commit219e48f35196e54361dc17d6ca7de6e095c46eeb (patch)
tree066d3cfe20e5a2ba9b3fdcbb6a91079cc9cd551d /packages/taler-util
parent3577227cc0ff0f9e0c422ae34c4407d88e98ec21 (diff)
fix #7497
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/amounts.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/amounts.ts b/packages/taler-util/src/amounts.ts
index f59e325b0..991b13912 100644
--- a/packages/taler-util/src/amounts.ts
+++ b/packages/taler-util/src/amounts.ts
@@ -468,7 +468,7 @@ export class Amounts {
const af = aJ.fraction % amountFractionalBase;
let s = av.toString();
- if (af) {
+ if (af || minFractional) {
s = s + ".";
let n = af;
for (let i = 0; i < amountFractionalLength; i++) {