Running Total calculated from flow rate

hmm some more thinking and I came up with this:

totaldispensed += (Calc / 3600);
  Serial.print ("total dispensed: ");
  Serial.println (totaldispensed);

code doesnt work but I think the field types are different or something so I have to deal with that.
any better ideas welcome.