function t(t){if(!t)return;let e=t.toString().split("."),n=(e[0]||0).toString(),i="";for(;n.length>3;)i=","+n.slice(-3)+i,n=n.slice(0,n.length-3);return n&&(i=n+i),e[1]?i+"."+e[1]:t.endsWith(".")?i+".":i}export{t as d};
