Fuel Used

Deborah4 years ago

Hi,
My gps transmit the FuelUsed attribute correctly, but when I look at the summary, the fuel consumed column is always at 0. How can I fix it?
Thanks

Anton Tananaev4 years ago

It uses fuel level attribute.

Deborah4 years ago

Do you know if there is a way to use the fuel consumed? unfortunately my car does not display the remaining fuel

Anton Tananaev4 years ago

Not at the moment. You can potentially use computed attributes to calculate "fake" fuel level.

Deborah4 years ago

Perfect, thank you. I created an attribute calculated using the following formula:

10000 - fuelConsumed

I noticed however that the resulting value, is rounded and does not save the decimal values, so if I make a trip where I consume only 0.8 liters for example, I get marked 0. Am I missing something?

Anton Tananaev4 years ago

Does fuelConsumed have decimal places?

Deborah4 years ago

yes he has them

Deborah4 years ago

I solved. I had set a value too high, now it also marks the decimals.
Thanks so much

netluca14 years ago

@nikkk hello nicola can you post the formula used
Thank you

Deborah4 years ago

I use:
return 999999 - fuelUsed