Fixed the math, now it will calculate how many gallons of gas on in the tank.