View Single Post
Old 06-26-2009, 06:04 PM   #13 (permalink)
Froggy
EcoModding Lurker
 
Join Date: Apr 2009
Location: Debolt, Alberta
Posts: 78
Thanks: 1
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by KJSatz View Post
Why are liters in cents? If gas is $4.000/gal, it is $1.057/L, which doesn't fit in XX.X cents.
Good point. Currently where I am, gas is usually under a buck per litre and we currently count gas prices in cents per litre, not parts of a dollar.

The $1.057 a litre will display as 105.7 which is a little strange, but it works.

We could change the format easily enough on the fly (if value is 100 or greater display as dollars, else as cents...)
  Reply With Quote