You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The divide rule does a double division and then compares it to the previous value. When a difference is detected, the work item is flagged for saving.
Either due to TFS doing rounding on double values for storage or teh double value comparison going wrong due to differences in precision, this comparison sometimes fails (e.g. 20/35) causing the aggregator to keep flagging the field as changed.
The divide rule does a double division and then compares it to the previous value. When a difference is detected, the work item is flagged for saving.
Either due to TFS doing rounding on double values for storage or teh double value comparison going wrong due to differences in precision, this comparison sometimes fails (e.g. 20/35) causing the aggregator to keep flagging the field as changed.
The code causing the issue is in:
https://github.com/rbanks54/TFSAggregator/blob/master/TFSAggregator/Aggregator.cs :60
I suggest either using a safer double comparison method (with a maximum precision) or by setting a desired precision on the different numeric rules.
The text was updated successfully, but these errors were encountered: