RAYLWARD102
Well-known Member
- Joined
- May 27, 2010
- Messages
- 529
All my variables are Doubles.
I have formula like: a X b = Calculated_Value
Then I keep a running total of the Calculated_Values: TotalValuesCombined = TotalValuesCombined + Calculated_Value
TotalValuesCombined = 140395826 (what VBA has calculated)
If I dump all values to spread sheet and manullay sum them, they sum to 137046355.3
What can I do about this? Like said, all variables are doubles. I think the adding is some how rounding and adding; is there a way to make it stop?
I have formula like: a X b = Calculated_Value
Then I keep a running total of the Calculated_Values: TotalValuesCombined = TotalValuesCombined + Calculated_Value
TotalValuesCombined = 140395826 (what VBA has calculated)
If I dump all values to spread sheet and manullay sum them, they sum to 137046355.3
What can I do about this? Like said, all variables are doubles. I think the adding is some how rounding and adding; is there a way to make it stop?