diff options
author | Sebastian <sebasjm@gmail.com> | 2022-11-28 15:33:45 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-11-28 15:33:45 -0300 |
commit | 219e48f35196e54361dc17d6ca7de6e095c46eeb (patch) | |
tree | 066d3cfe20e5a2ba9b3fdcbb6a91079cc9cd551d /packages/taler-util | |
parent | 3577227cc0ff0f9e0c422ae34c4407d88e98ec21 (diff) |
fix #7497
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/amounts.ts | 2 |
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++) { |