Skip to content

v2.1.0

Latest
Compare
Choose a tag to compare
@514sid 514sid released this 25 Nov 10:59
· 2 commits to v2.x since this release

v2.1.0 Release Notes

Bug Fixes

  • Resolved an issue where string trimming was not applied before sanitizing, causing incorrect handling of test cases like [' - 0.56 ', -0.56, 0]. The implementation now trims strings before sanitizing, ensuring accurate results.

Features

  • Scientific Notation Support:
    • Now the Num helper supports handling scientific notation, enabling more versatile use cases.
    • Test cases have been added to validate the scientific notation functionality:
      • ['1.23e3', 1230.0, 1230]
      • ['-5.67e-4', -0.000567, 0]

Miscellaneous

  • Minor optimizations and code improvements.

I appreciate your feedback and contributions. Please feel free to report any issues or suggest enhancements.