Moodle

Average calculations are sometimes wrong when decimal places is zero

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9
  • Component/s: Gradebook
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

As per "Tutor" feedback document from OU, some of the average calculations seem bunkum. Can you check this out?

Activity

Hide
Yu Zhang added a comment -

having a bit of trouble reproducing this...

Show
Yu Zhang added a comment - having a bit of trouble reproducing this...
Hide
Yu Zhang added a comment -

sorry closed by accident

Show
Yu Zhang added a comment - sorry closed by accident
Hide
Yu Zhang added a comment -

Average grade is rounded twice (once for the numeric grade, once for the percentage), and percentage grade is derived from the rounded numeric grade. So if an activity is graded out of, say 5, the error is huge. Fixed in code.

Show
Yu Zhang added a comment - Average grade is rounded twice (once for the numeric grade, once for the percentage), and percentage grade is derived from the rounded numeric grade. So if an activity is graded out of, say 5, the error is huge. Fixed in code.
Hide
Andrew Davis added a comment -

closing.

Show
Andrew Davis added a comment - closing.

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: