Liferay.Loader.define("data-engine-js-components-web@1.0.79/js/custom/form-report/utils/numeric",["module","exports","require","./ellipsize"],(function(e,t,r){var i;window;{Object.defineProperty(t,"__esModule",{value:!0}),t.formatNumber=function(t,r){let i=t.toString();const l=i.split("."),a=l[1],d=l[0].replace(u,o("thousands-delimiter",","));i=d+(a&&0!==Number(a)?o("decimal-delimiter",".")+a:""),r&&i.length>e&&(i=(0,n.default)(i,e));return i};var n=(i=r("./ellipsize"))&&i.__esModule?i:{default:i};const e=10,u=/\B(?=(\d{3})+(?!\d))/g;function o(e,t){const r=Liferay.Language.get(e);return r===e?t:r}}}));
//# sourceMappingURL=numeric.js.map