Skip to content

v1.2.6

Choose a tag to compare

@sxdjt sxdjt released this 21 Apr 16:13

Fixed

  • Negative values that round to zero (e.g. -0.0 or -0.4 with round: 0) now display as 0 instead of -0. Fixes issue #10 reported by @Yobby.

Test coverage (11 tests passing):

  • -0.0 directly (the reported issue)
  • -0.4 with round: 0 (rounds to -0 without fix)
  • Normal negative values that don't round to zero (unaffected)
  • Positive values, no-rounding configs, and non-numeric passthrough (no regressions)