evancharlton / android-mileage

Automatically exported from code.google.com/p/android-mileage
10 stars 15 forks source link

Fuel economy stats not calculated when all fillups was "not to the top" #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. enter few fillups, each mark as partial
2. go to stats

Expected behavior:
got calculated "Fuel economy" stats

Actual behavior:
got:
Average NaN L/100 km
Worst -10000,00 L/100 km
best 10000,0 L/100 km

also "Cost per distance" is somewhat strange
Average: infinity

Mileage version: 3.1.1
Android version: cm7.2
Device: sgs2

Original issue reported on code.google.com by sszym...@gmail.com on 18 Jun 2012 at 5:05