Floating pointing incrementing, not working

TotalgallonsA = TotalgallonsA + flowgal;

And how is that different to the code the IP posted?