As far as I can see your code is doing what it should. So I don't understand what your problem is. However I have a couple of points:
public double inGallon() {
volume = volume * 0.264;
...
Type: Posts; User: Junky
As far as I can see your code is doing what it should. So I don't understand what your problem is. However I have a couple of points:
public double inGallon() {
volume = volume * 0.264;
...