Skip to content

Fix calculation of negative percentages in getPercentMore #450

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

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

tigattack
Copy link
Contributor

The getPercentMore function had an issue in calculating percentage decreases when now was less than old.

Before

image

After

image

The `getPercentMore` function had an issue in calculating percentage decreases when `now` was less than `old`.
@S33G
Copy link

S33G commented Nov 20, 2024

LGTM

@Yooooomi Yooooomi merged commit ccdb644 into Yooooomi:master Nov 24, 2024
@tigattack tigattack deleted the patch-1 branch November 25, 2024 15:19
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.

3 participants