Issue Details (XML | Word | Printable)

Key: MDL-11276
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Yu Zhang
Reporter: Martin Dougiamas
Votes: 1
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Average calculations are sometimes wrong when decimal places is zero

Created: 14/Sep/07 02:37 PM   Updated: 17/Sep/07 12:29 PM
Return to search
Component/s: Gradebook
Affects Version/s: 1.9
Fix Version/s: 1.9

Participants: Martin Dougiamas and Yu Zhang
Security Level: None
Resolved date: 17/Sep/07
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


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

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Yu Zhang added a comment - 14/Sep/07 04:43 PM
having a bit of trouble reproducing this...

Yu Zhang added a comment - 14/Sep/07 05:00 PM
sorry closed by accident

Yu Zhang added a comment - 17/Sep/07 12:29 PM
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.