Great work on this app, just one thing doesn't make sense to me. I'm on the fuel statistics screen and after 4 fill-ups, I have 30.42 average MPG and cost per gallon of $2.77. which would cause me to assume my cost per mile would be $0.09, however, it shows $0.12...
[Copy from my email reply to a very similar problem]
You are quite right. I should confess that some of the statistics are slightly wrong. For example the average MPG is calculated as mathematical average of MPGs while it should be calculated using "total distances" and "total fuel volume". Because many of the statistics you get are based on others, one small mistake will propagate to other statistics as well. For example if I calculate the total fillups wrongly, the entire "cost per mile", "cost per gallon", "cost per etc" will go wrong!
The problem is that the first fillup must be totally dropped from "some" of the calculations. Perhaps only the cost of first fillup must be used (that's what drives you to the second fillup). Actually I'd updated all my calculation formulas (actually the database queries) and was ready to release. But in my final testing I found out that when I filtered the records, the calculation formulas didn't work correctly. You know it gets very complicated when you have a subset of the data and have to update the whole statistics based on that subset. Just imagine you may have non-continuous set of records for calculating total cost, total miles, total gallons, etc. The details are a bit complicated. If you've done it once on paper, you already get what I mean.
Anyways, I just reverted back my changes and never released that version. And now I'm working on backup/restore, the single most voted feature!! There are high demands and pressure for backup/restore so I have to do it first.
But the issues you've mentioned are definitely in my list (and from my point of view even more important than backup/restore), and I will attack them as soon as I release backup/restore and import/export features. I'm sorry if the situation doesn't look ideal! Just a note... As you go on and enter more and more records, the difference between the current calculation formulas and correct ones gets lesser and lesser and sometimes even not noticeable.
[Update] Let me assure you that all your entered data are safe. The problem is only with statistical summary which are recalculated every time. [/Update]
Thanks for your patience,