/**
 * Форматирование числа в цену.
 */ export var formatCurrency = function formatCurrency(param) {
    var value = param.value, locale = param.locale, currency = param.currency, minimumFractionDigits = param.minimumFractionDigits;
    var formatter = new Intl.NumberFormat(locale, {
        style: 'currency',
        currency: currency,
        minimumFractionDigits: minimumFractionDigits
    });
    return formatter.format(value);
};
