"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var utils_service_1 = require("../../services/utils.service");
var Currency = function (_a) {
    var quantity = _a.quantity, _b = _a.prefix, prefix = _b === void 0 ? '' : _b, _c = _a.suffix, suffix = _c === void 0 ? '' : _c, _d = _a.decimalScale, decimalScale = _d === void 0 ? 0 : _d, _e = _a.division, division = _e === void 0 ? true : _e;
    var quantityShow = quantity;
    if (division) {
        quantityShow = utils_service_1.NumberFormat(Number(quantityShow) / Math.pow(10, decimalScale));
    }
    return react_1.default.createElement(react_1.default.Fragment, null, quantityShow);
};
exports.default = Currency;
//# sourceMappingURL=currency.js.map