const formatterInteger = (value) => {
  const reg = /^\.|[^\d]/g;
  if (typeof value === "string") {
    return !isNaN(Number(value.replace(reg, ""))) ? value.replace(reg, "") : "";
  } else if (typeof value === "number") {
    return !isNaN(value) ? String(value).replace(reg, "") : "";
  } else {
    return "";
  }
};
var formatterInteger$1 = formatterInteger;

export { formatterInteger$1 as default };
