Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display fuel consumption with two post-comma digits only #723

Closed
3 of 4 tasks
kalipso-cyber opened this issue Nov 20, 2024 · 2 comments
Closed
3 of 4 tasks

Display fuel consumption with two post-comma digits only #723

kalipso-cyber opened this issue Nov 20, 2024 · 2 comments
Assignees
Labels
pending release fix in place, pending release

Comments

@kalipso-cyber
Copy link

Checklist
Please make sure you have performed the following steps before opening a new bug ticket, change [ ] to [x] to mark it as done

  • I have read and tried the steps outlined in the Troubleshooting Guide
  • I have searched through existing issues.

Description
Hi,

first of all thanks for the app - I just recently set it up and I'm quite liking it!

TL;DR is that I want to display the number of litres as 34,92 and not 34,920 or 3492,000.

A bit more content: My LubeLogger has the "Use Imperial Calculation" as well as the "Use UK MPG Calculation" settings both turned off. The "Use three decimals for fuel cost" option is also deactivated. The problem is that my fuel consumption is still shown with three post-comma digits.

So for instance, in an entry in the "Fuel" tab of a vehicle, where I added 34,92 litres of fuel to a vehicle, under "Consumption" it shows as 34,920. If I enter 34.92 instead of 34,92, the 34,920 changes to 3492,000. But I don't want to show this with three digits, especially since the third digit will always be 0 anyways as no gas station around me counts three digits after the comma.

Which setting do I need to change to correctly display the number of litres with only two digits after the comma?

Platform

  • Docker Image
  • Windows Standalone Executable

Browser Console Errors(F12)
n.a.

App/Container Console Error
n.a.

Screenshots(optional)
Here's a visual representation of my settings:

settings

And this is what the field in question currently looks like:

fuel consumption
@hargata hargata self-assigned this Nov 20, 2024
@hargata
Copy link
Owner

hargata commented Nov 20, 2024

The next release will have a new switch in the settings page that will allow you to set the consumption to 2 decimal places.

@hargata hargata added the pending release fix in place, pending release label Nov 20, 2024
@hargata
Copy link
Owner

hargata commented Nov 25, 2024

Released in 1.4.1

image

image

@hargata hargata closed this as completed Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending release fix in place, pending release
Projects
None yet
Development

No branches or pull requests

2 participants