import { C as a, a as o } from "../.chunks/forms-BpbQYyEQ.es.js";
const i = (t, e, c = a.state.currency) => {
  e = e ?? o().value;
  let r = t.toLocaleString(e, { style: "currency", currency: c, maximumFractionDigits: 2 });
  return r = r.replace(",", "."), r;
};
export {
  i as genPrice
};
//# sourceMappingURL=price.js.map
