/**
 * Форматирование числа в цену.
 */ "use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "formatCurrency", {
    enumerable: true,
    get: function() {
        return formatCurrency;
    }
});
const formatCurrency = ({ value, locale, currency, minimumFractionDigits })=>{
    const formatter = new Intl.NumberFormat(locale, {
        style: 'currency',
        currency,
        minimumFractionDigits
    });
    return formatter.format(value);
};
