Budget Calculations in 0.9.9.0 SVN_1997

Money Manager Ex Development related posts
(http://github.moneymanagerex.org/)

Moderator: Renato

Post Reply
sandie
New MMEX User
Posts: 6
Joined: Mon Mar 12, 2012 7:32 pm
Are you a spam bot?: No

Budget Calculations in 0.9.9.0 SVN_1997

Post by sandie »

I see some odd calculations in the budget area. Setup a Yearly budget for a category and then set the category for receiving $ 100.00 per month. I would expect the estimated receipts to be $ 1,200.00, but the program shows $1,216.67. $ 100.00 Daily does estimate an answer of $ 36,500.00 and $ 100.00 Yearly does estimate an answer of $ 100.00. Most of the other settings show odd dollar answers. $ 100.00 Quarterly shows $ 396.74, not $ 400.00. I thought that 0.9.8.0 had been working correctly?

Windows XP SP3

Thanks,
Rick

Nikolay
MMEX Developer
Posts: 1377
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Budget Calculations in 0.9.9.0 SVN_1997

Post by Nikolay »

I've catch this issue.

100/30*365 = 1216.6666666667

Too meticulous calculation. I think to simplify to a previous state.
Thank you for the tests.

User avatar
stef145g
MMEX Developer
Posts: 57
Joined: Sat Aug 14, 2010 3:40 am
Are you a spam bot?: No
Location: Canberra, Australia

Re: Budget Calculations in 0.9.9.0 SVN_1997

Post by stef145g »

When I reorganised the code, I made all calculations based on days. This I did, mainly because of monthly budgets, so a user creating a monthly budget based on the yearly budget would hopefully correspond.

Due to the responses we have recieved, I have now changed the calculations for the year on a more generalised formula, therefore allowing $100 per month to calculate as $12,000 per year.

I have also readjusted calculations for the monthly figures to reflect a more accurate figure for the month.
These will be available in the general release. Thankyou for the testing and feedback before the general release.
Regards: Stefano

Post Reply