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

Bug: Savings Rate calculation is wrong #1619

Open
MrTob opened this issue Jan 13, 2025 · 0 comments
Open

Bug: Savings Rate calculation is wrong #1619

MrTob opened this issue Jan 13, 2025 · 0 comments
Labels
🐛 Bug Something isn't working

Comments

@MrTob
Copy link

MrTob commented Jan 13, 2025

Describe the bug
The calculation of the savings rate is incorrect by one decimal place

To Reproduce
Add 2 transactions:
1: Income with 1000€
2: Expense with 500€

Expected behavior
(income - spending) / income
(1000 - 500) / 1000
The result is 0.5, which is basically correct, but it still needs to be multiplied by 100 to be a percentage

What version of Maybe are you using?
Self-hosted v0.2.0

Screenshots / Recordings
chrome_IafEN1MWrE

@MrTob MrTob added the 🐛 Bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant