var n=r=>["BIF","CLP","DJF","GNF","JPY","KMF","KRW","MGA","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"].includes(r.toUpperCase()),c=(r,t)=>{let e=(t==null?void 0:t.currency)||"USD";return Intl.NumberFormat("en-US",{style:"currency",currency:e,minimumFractionDigits:2,maximumFractionDigits:2,trailingZeroDisplay:"auto",...t}).format(n(e)?r:r/100)};export{n as a,c as b};
