-
-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rounding accuracy #4241
Fix rounding accuracy #4241
Conversation
While you could call that behaviour a bug, |
Right, I guess it's still better than having inconsistencies occurring at 2 decimal places. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a test for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest adding some floor function tests
Add test case for floor function
fa940db
to
56a4d0f
Compare
Description
Skript.EPSILON
before handling (lines 169, 184, 199, 206, 216, 226)Target Minecraft Versions: any
Requirements: none
Related Issues: #4235