Skip to content
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 #196 #252

Merged
merged 1 commit into from
Mar 24, 2023
Merged

Fix #196 #252

merged 1 commit into from
Mar 24, 2023

Conversation

potatoes1286
Copy link
Contributor

@potatoes1286 potatoes1286 commented Mar 23, 2023

Fixes #196 by preventing divide by percent calculations from being messed with, and adding brackets to fix order of operations

Before: 900/10% would be "cleaned" to (900)/(900)*(10)/100 -> 0.1

Now: 900/10% will be cleaned to 900/(10/100) -> 9000 (correct)

Fixes Darkempire78#196 by preventing divide by percent calculations from being messed with, and adding brackets to fix order of operations
@Darkempire78
Copy link
Owner

Thank you for the pull request, I'll check tomorrow if everything's okay

@Darkempire78
Copy link
Owner

Thank you!

@Darkempire78 Darkempire78 merged commit e9aaf21 into Darkempire78:main Mar 24, 2023
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.

Some results with % are not correct
2 participants