wish: different frac digits for fuel price

Bug #1286267 reported by Binnette
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HomeBank
Won't Fix
Undecided
Unassigned

Bug Description

Add a new "Numbers option" named "Frac digits fuel", to allow us to display fuel price with more digits.

For exemple, I want all my transactions to be displayed with 2 digits after comma. (64,23)
But I want the fuel price to be displayed with 3 digits. Cause fuel price in gaz station are displayed on 3 digits. (1,547)

HomeBank 4.5.5
LinuxMint 16 64bits

Revision history for this message
Binnette (binnette) wrote :

Here is a patch. It's working fine, but it needs review.

Revision history for this message
Binnette (binnette) wrote :

I forgot some code. Here is patch v2.

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

No, for several reason:
1) let's stay in each currency definition: thousand of euro cents does not exist (so 0,007 euro does not exist)
2) fuel price is related to psychological price (and mostly to ensure more profit to fuel distributors and fuel companies)
3) whatever the price of the liter of fuel is, the important amount in the vehicle cost report is the total price of your refuel !

Changed in homebank:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.