export function formatValue(value: unknown) {
  if (typeof value === "number") {
    return Number.isInteger(value) ? value.toString() : value.toFixed(2);
  }

  if (value === null || value === undefined || value === "") {
    return "暂无";
  }

  return String(value);
}
