wisesplit/lib/formatter.ts

4 lines
107 B
TypeScript

export const moneyFormatter = new Intl.NumberFormat("en-US", {
style: "currency",
currency: "USD",
});