Liferay.Loader.define("commerce-dashboard-web$d3-format@1.3.2/src/precisionPrefix", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import exponent from "./exponent";

    export default function (step, value) {
      return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3 - exponent(Math.abs(step)));
    }
  }
});
//# sourceMappingURL=precisionPrefix.js.map