Common sum of times is wrong

Issue #937 resolved
Vasily Smeltsov created an issue

Common sum of times is wrong. See screenshot.

Comments (6)

  1. Andriy Zhdanov

    Hi Vasily,

    It might be because of rounding, have you configured Round Hours option in Administration - Add-ons - Timesheet Configuration?

    Thank you.

  2. Andriy Zhdanov

    So I believe it explains it, half-hour rounding is very rough, and there are just two ways:

    a) sum rounded values to make total match, but it will be very inaccurate

    b) and round displayed value, so summing exact values, and rounding in the end only, thus row total and overall total may differ.

  3. Vasily Smeltsov reporter

    I prefer a) It better to round each item within one day to get a day value. And then to get a right sum of all days. it is more comprehensible.

  4. Andriy Zhdanov

    What you describe is somewhat different than a), and does not clearly match all cases, sometimes there is no day, or even issue, so it's vague.

    Option a) should be done when recording time spent, i.e. if you use some automatic software to track time, it should round values to minutes or 5 minutes, etc.

    If Timesheet would do this, total would be much higher than actual total and that could lead to more troubles.

  5. Log in to comment