export const formatCurrency = (amount, locale = "en-US", currency = "USD", maximumFractionDigits = 0) => new Intl.NumberFormat(locale, {
    style: "currency",
    currency,
    maximumFractionDigits,
}).format(amount !== null && amount !== void 0 ? amount : 0);
//# sourceMappingURL=numberUtils.js.map