Hi Guys !

I think my problem is almost fixed.

I decided to implement the solution using some intermediate variables counting the amount of fuel used (milliliters and decilliters ) and making calculations for each 100 meters. If the division cannot be performed, the display shows "- -", like in some on-board computers I have seen.

I just have to bootload the new software and run some kilometers in the traffic here in Sao Paulo.

Well guys . . . Thank you for your advices ! ! !

Regards

Sérgio