[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: inlt is not part of stringify
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: inlt is not part of stringifyValue |
Date: |
Tue, 25 Jan 2022 21:45:43 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 8b07411c inlt is not part of stringifyValue
8b07411c is described below
commit 8b07411c58270de2982b9b4e2c24a83bec9db46d
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Jan 25 15:12:28 2022 -0300
inlt is not part of stringifyValue
---
packages/taler-util/src/amounts.ts | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/packages/taler-util/src/amounts.ts
b/packages/taler-util/src/amounts.ts
index d389e3ed..505a68f4 100644
--- a/packages/taler-util/src/amounts.ts
+++ b/packages/taler-util/src/amounts.ts
@@ -414,7 +414,7 @@ export class Amounts {
return x1.currency.toUpperCase() === x2.currency.toUpperCase();
}
- static stringifyValue(a: AmountJson, minFractional: number = 0): string {
+ static stringifyValue(a: AmountJson, minFractional = 0): string {
const av = a.value + Math.floor(a.fraction / amountFractionalBase);
const af = a.fraction % amountFractionalBase;
let s = av.toString();
@@ -431,9 +431,6 @@ export class Amounts {
}
}
- const currencyFormatter = new Intl.NumberFormat("en-US", {
- minimumFractionDigits: minFractional,
- });
- return currencyFormatter.format(s as any);
+ return s;
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: inlt is not part of stringifyValue,
gnunet <=