Skip to content

v3.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Oct 21:41
· 26 commits to main since this release

3.0.0 (2023-10-13)

Features

  • enable "unitRounding" by default (c56f6fb)
  • make "trunc" the default rounding mode (803439b)

BREAKING CHANGES

  • "trunc" logic is very different from Math.round, and will produce different results compared to the previous versions of the package. To use the rounding logic of Math.round, use the "halfCeil" rounding mode, which ties towards positive infinity, compared to "trunc", which always rounds towards zero.