Skip to content

Commit 8168993

Browse files
committed
release 2.0.0
1 parent d601284 commit 8168993

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,22 @@ First best solution: Use a library with correct implementation of floating point
2525
- BUT: only compatible with TS allowSyntheticDefaultImports: true + default import
2626

2727
Second best solution: Use a custom implementation of roundToPrecision
28-
@bjesuiter selected (on 2024-09-09):
28+
@bjesuiter original selected implementation (on 2024-09-09):
2929
https://stackoverflow.com/questions/11832914/how-to-round-to-at-most-2-decimal-places-if-necessary#:~:text=Solution%202%3A%20purely%20mathematical%20(Number.EPSILON)
3030

31+
2025-07-11: refined multiple times
32+
33+
---
34+
# Changelog
35+
36+
## 2.0.0 - 2025-07-11
37+
38+
- reworked the whole implementation and added more tests and examples
39+
40+
## 1.0.0
41+
42+
Initial release
43+
3144
---
3245

3346
# For Contributors

0 commit comments

Comments
 (0)