Comment 10 for bug 159066

Revision history for this message
Vicente (jviares) wrote : Re: [Bug 159066] Re: car cost fail

I think that you can add "fr" param in transaction. Ej:

d=229866 v=50,25 fr=true
or
d=229866 v=50,25 fr=false

that you think

2008/7/8 Maxime Doyen <email address hidden>:

> Well... I agree with you. I though I have found the magic formula, but
> it's just only a specific case that works well with it.
>
> In fact the main trouble is that computing average 100km consumption can
> only work if you do full refuel everytime.
> So that still a problem. Whatever we can do it will never be exact.
>
> Let's for example imagine someone never doing full refuel (I know some)
> then how we can compute? the results will always be false !
>
> I have googled trying to find a sympathic mathematical algorithm to
> solve the problem with no success. All the things I have found uses the
> common rule of three and need a full refuel each time to be correct (and
> it's logical in a way).
>
> I should think again to my proposal above on 2007-11-11, that was to sum
> distance and refuel and then compute an average, it is not exact but it
> should work in every case.
> I think we should resign that 100km consumption value to be an estimation.
>
> The important thing is most the distance you have made between each
> refuel and how much it costs you, isn't it ?
>
> Maxime.
>
> --
> car cost fail
> https://bugs.launchpad.net/bugs/159066
> You received this bug notification because you are a direct subscriber
> of the bug.
>