"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function getRoundingMethod(method) {
  return (number) => {
    const round = method ? Math[method] : Math.trunc;
    const result = round(number);
    return result === 0 ? 0 : result;
  };
}
exports.getRoundingMethod = getRoundingMethod;
//# sourceMappingURL=_lib-getRoundingMethod.cjs.map
