import { isValidFloat as i } from "../checkers/isValidFloat.js";
import { formatHumanToBig as m } from "../formatters/formatHumanToBig.js";
const u = (t, c, o) => {
  if (!i(t) || !c || !o)
    return "";
  const r = (parseFloat(t) * c.price / o.price).toFixed(5).toString();
  return m(r, o.decimals);
};
export {
  u as calculatePairAmount
};
//# sourceMappingURL=calculatePairAmount.js.map
