const e = (t, i) => {
  if (!t.includes("."))
    return t;
  const [n, r] = t.split(".");
  return `${n}.${(r ?? "0").substring(0, i)}`;
};
export {
  e as trimDecimals
};
//# sourceMappingURL=trimDecimals.js.map
