Releases: 514sid/num
Releases · 514sid/num
v2.1.0
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.