Miles Per Gallon2 | JavaScriptSource

Miles Per Gallon2

Paul Hartmann Jan 8, 2002
Do you think of fuel consumption in miles per gallon, but have to buy your fuel in liters? This script will figure your miles per gallon for you. Enter miles traveled and liters used and the conversion is done for you. (Imperial gallons are used, not US gallons.) IE only.

Miles per Gallon

Enter Mileage and Fuel used since last fill-up:

Distance covered: miles
Litres of fuel used: litres   

Consumption:   Miles per Gallon
                        Litres per 100km    
The gallons are Imperial Gallons - not U.S.
(1 Imp Gal = 1.201 US Gal = 4.546 litres)

The JavaScript Source: Math Related: Miles Per Gallon2

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(
0 comments)