Right click this window and select "view source" in order to copy the source for this script.
Mileage Calculator
View Source...
Provides several mileage calculations based on entry.
Mileage Calculator
This example calculates both the miles per gallon and the cost if gas pricing is entered. It also shows examples of several different methods of calculation and displays of data. See the source.