[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Miles per Gallon
Tip# 2066 By Corey Smith On 01-Nov-2005
Rated By 1 users Downloaded : 167
Categories : Misc. User Tools
Software type : AutoCAD
Rename File To : Tip2066: mpg.lsp
Calculate your gas mileage after a fill-up.

Miles Per Gallon (Tip #2066) from Corey Smith is a very simple LISP routine to calculate your gas mileage after a fill up. Load the LSP file and type MPG to activate. Now supply the odometer reading from the previous fill up, the current odometer reading and how many gallons of gasoline were purchased. The computer then displays the miles per gallon you obtained between the two fill ups. Corry said the idea came to him while filling up and watching the price climb. After searching the Web, he could not find a utility to do the simple calculation. Well Corey, here it is and you wrote it!



Average Rating:

User comments