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