Thanks for formatting your code, easier to read now.
Then the result of calculation you asked about in your first post is correct, but only by accident. It is supposed to be totalling the charge in coulombs but in fact it is totalling a number of current measurements, which makes no sense. To convert amps to coulombs, you must multiply the current in amps by the time for which it flows in seconds. Because 'period' is set to 1000ms = 1s, you should multiply the current by 1 second, which of course makes no difference to the result, which is why it is, by chance, correct. But if you changed period to 500ms or 2000ms for example, the result would be incorrect.
It would be more correct to change the line like this
totalCoulumbs = totalCoulumbs + AcsValueF * period / 1000.0;
then it would be correct for other values of 'period'.
But even with that change, your code could be improved. Right now, it takes many measurements of the current per second, but only one of those is used to update the total coulombs. The other current measurements are discarded. If one current measurement per second is accurate enough, then you could make your code more efficient by taking only one current measurement per second. This would free up the Arduino's processing time to perform other tasks or to go into a low power sleep mode to extend battery life, if your sensor is battery powered. If there is no need to be more efficient, then your code could measure the coulombs more accurately by averaging the current over each second, rather than using one snapshot from each second.