Quiz question marks as 0.67

Quiz question marks as 0.67

by Nadirshah Ferozepurwalla -
Number of replies: 2

version latest stable

what if i keep marks for each question as 0.67

total questions 15

thus TOTAL MARKS 10

will there be any problem in calculating grade by moodle?

will i face any problems due to round off?


Average of ratings: -
In reply to Nadirshah Ferozepurwalla

Re: Quiz question marks as 0.67

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Internally, the grade for each question is stored to 7 decimal places, and the grade for the whole quiz is stored to 5 decimal places, so rounding should not be a problem.

The display of a grade as 0.67 is just a cosmetic display issue.

However, when you set up the quiz, you might want to type the grade for each question as 0.6666667, even if that gets displayed as 0.67 in the UI.