Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2.2, 2.3.1, 2.4
-
Component/s: Questions
-
Labels:None
-
Testing Instructions:
-
Affected Branches:MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
Fixed Branches:MOODLE_22_STABLE, MOODLE_23_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
When editing a multichoice question the default mark 1 is displayed as 1.0000000 (see screenshot)
This is due to storing the mark as NUMBER(12,7)in the DB. It would be nice if such a default mark would
be displayed as '1' in the future.
Tim Hunt knows the issue and suggests that "You just need to add +0 in the code that passes the value to the form.".