Skip to content

fix: improve round function#901

Open
timbze wants to merge 1 commit into
harttle:masterfrom
timbze:round_fix
Open

fix: improve round function#901
timbze wants to merge 1 commit into
harttle:masterfrom
timbze:round_fix

Conversation

@timbze

@timbze timbze commented May 28, 2026

Copy link
Copy Markdown
Contributor

I realized after I did #873 that there were still some rounding issues, here's a better fix.

What I did now I have been using in production for years and it works with existing tests and the additional tests that it was not working with.

edit: you might wonder why I submitted the other code when I already had this from before. It was simply because I thought it was a better way of solving the issue. Which I now realize it was not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant