import { useMemo as r } from "react";
function e(t) {
  return new Intl.NumberFormat("en-US", {
    style: "percent",
    maximumFractionDigits: 1
  }).format(t);
}
function o(t) {
  return r(() => e(t), [t]);
}
export {
  e as f,
  o as u
};
