const e=require(`../../error-handling/logger.cjs`);require(`../../error-handling/index.cjs`);var t=t=>{try{return t==null||Number.isNaN(t)||!Number.isFinite(t)?`0`:(Math.floor(t*100)/100).toLocaleString(`en-us`,{minimumFractionDigits:2,maximumFractionDigits:2})}catch(t){return e.Logger.error(`Error formatting USD number:`,t),`0`}};exports.formatUSDNumber=t;