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