add format to stringify value
This commit is contained in:
parent
a2591a29af
commit
efaa4af648
@ -430,6 +430,8 @@ export class Amounts {
|
|||||||
n = (n * 10) % amountFractionalBase;
|
n = (n * 10) % amountFractionalBase;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return s;
|
|
||||||
|
const currencyFormatter = new Intl.NumberFormat("en-US");
|
||||||
|
return currencyFormatter.format(Number(s));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user