wisesplit/lib/formatter.ts

5 lines
107 B
TypeScript
Raw Normal View History

2022-10-24 19:00:16 +00:00
export const moneyFormatter = new Intl.NumberFormat("en-US", {
style: "currency",
currency: "USD",
});