Business. If youre keeping track of business-related gas expenses, this gasoline log can calculate the cost of a trip based on the distance traveled, the price of gas, and your vehicles gas mileage. var TGSort=window.TGSort||function(n){"use strict";function r(n){return n?n.length:0}function t(n,t,e,o=0){for(e=r(n);oo?n:e=r(n)?t:NaN}function d(n){var e=[],o=n;return t([f,s,c],function(u){var a=[],i=[];t(n,function(n,r){r=u(n),a.push(r),r||i.push(n)}),r(i)