text: "use strict";
  exports.__esModule = true;
  exports["default"] = (function () {
      if (!("round" in Number)) {
          /**
           * @description Rounds the number to the number of desired digits.
           * @return {Number}
           * @example
           * const number = 42.12345;
           * number.round(3); // 42.123
           * @see [CDN link](https://unpkg.com/@khalyomede/prototype-storm@0.2.0/dist/number/round.js)
           * @since 0.1.0
           */
          Number.prototype.round = function (digits) {
              var typeOfDigits = typeof digits;
              if (typeOfDigits !== "number") {
                  throw new Error("expected digits to be a number (got: " + typeOfDigits + ")");
              }
              return parseFloat(this.toFixed(digits));
          };
      }
  })();
  