function e(e){if(e==null)return`—`;let n=typeof e==`number`?e:Number(e);return Number.isFinite(n)?n===0?`$0.00`:n>=1?`$${n.toFixed(2)}`:n>=.01?`$${t(n.toFixed(5))}`:`$${t(n.toFixed(6))}`:`—`}function t(e){return e.includes(`.`)?e.replace(/0+$/,``).replace(/\.$/,``):e}export{e as t};
//# sourceMappingURL=formatBudgetUsd-DMjFccMb.js.map