Fuel-up Total - Fuelly Forums

Click here to see important news regarding the aCar App

Reply
 
Thread Tools Display Modes
 
Old 06-29-2010, 07:30 AM   #1
Junior Member
 
Join Date: Jun 2010
Posts: 2
Country: United States
Location: Raleigh, NC
Fuel-up Total

I noticed that when you add a new fuel-up, the total cost cell is not rounded to the nearest cent. (This is also true when one views a single log entry.) Although, in some places (like the general log page), the total cost cell is rounded. Since the gas station rounds off to the nearest hundredth of a dollar, shouldn't it be the same here?
__________________

cactuar is offline   Reply With Quote
Old 06-29-2010, 07:33 AM   #2
pb
Senior Member
 
Join Date: Jul 2008
Posts: 1,588
Country: United States
Location: Corvallis, OR
We're just conserving space on the car detail page, and we show the price/fuel-up to three decimal places. Do gas stations really show the total to three decimal places, though? That hasn't been my experience.

I'm not sure what advantage that extra decimal place would give you.
__________________

pb is offline   Reply With Quote
Old 06-29-2010, 07:42 AM   #3
Junior Member
 
Join Date: Jun 2010
Posts: 2
Country: United States
Location: Raleigh, NC
That's just my point, gas stations can't charge you $10.945; they can only charge $10.95. So, total cost for a single fill up should only show 2 decimal places.

I only noticed this issue because my total cost for 2010 is 1 cent off of what I actually payed. I think this is most likely because when the calculation is done, it adds all the fuel-up totals and then rounds when it should round off each fuel-up total and then add.

This is a tiny, tiny issue that I only noticed because I'd say I'm a little OCD about numbers.
cactuar is offline   Reply With Quote
Old 06-29-2010, 08:13 AM   #4
pb
Senior Member
 
Join Date: Jul 2008
Posts: 1,588
Country: United States
Location: Corvallis, OR
oh, I see. Thanks for the clarification. I'll take a look at it.
pb is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


» Fuelly iOS Apps
Powered by vBadvanced CMPS v3.2.3


All times are GMT -8. The time now is 03:40 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.