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