@swapkit/core 1.0.0-rc.67 → 1.0.0-rc.68

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.
package/dist/index.es.js CHANGED
@@ -1475,6 +1475,8 @@ function se({
1475
1475
  bigIntDecimal: t = W,
1476
1476
  decimal: n = W
1477
1477
  }) {
1478
+ if (n === 0)
1479
+ return e.toString();
1478
1480
  const a = e < 0n;
1479
1481
  let s = e.toString().substring(a ? 1 : 0);
1480
1482
  const r = n - (s.length - 1);