diff --git a/packages/taler-util/src/amounts.ts b/packages/taler-util/src/amounts.ts index 25b3a2c8b..cd74cda35 100644 --- a/packages/taler-util/src/amounts.ts +++ b/packages/taler-util/src/amounts.ts @@ -430,6 +430,8 @@ export class Amounts { n = (n * 10) % amountFractionalBase; } } - return s; + + const currencyFormatter = new Intl.NumberFormat("en-US"); + return currencyFormatter.format(Number(s)); } }