-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
10 - 1 + 5 = 10 - 1 - 5 #1784
Comments
TheBentoBox
added
enhancement
Feature request, an issue about something that could be improved, or a PR improving something.
priority: lowest
"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).
labels
Jan 2, 2019
I'm putting this at lowest, partly because since math parsing can be tricky (though I'm sure there are many already solved solutions available) but more because it can easily be fixed with parentheses which also makes the code clearer anyway. |
See #535 for more math issues. |
Closing this in favor of #535 |
Wealthyturtle
removed
enhancement
Feature request, an issue about something that could be improved, or a PR improving something.
priority: lowest
"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).
labels
Oct 18, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Skript returns the wrong result when using expressions like
10 - 1 - 5
.In that example, it returns 14 instead of the expected 4.
Likewise,
10 - 1 - 5 - 4
=10
in Skript, where the expected result is 0.The logic is correct when parentheses are assumed
10 - (1 - 5)
.Server Information
The text was updated successfully, but these errors were encountered: