@firestitch/common 12.6.2 → 12.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1732,6 +1732,7 @@
1732
1732
 
1733
1733
  function round(num, decimalPlaces) {
1734
1734
  if (decimalPlaces === void 0) { decimalPlaces = 0; }
1735
+ num = parseFloat(parseFloat(num).toPrecision(Number.MAX_SAFE_INTEGER.toString().length - 1));
1735
1736
  var p = Math.pow(10, decimalPlaces);
1736
1737
  return Math.round(num * p) / p;
1737
1738
  }