I am on Moodle 3.9 trying the following:
- Create a new assignment with anonymous marking and workflow set;
- A student submits an assignment;
- I mark the assignment from the full marking interface (i.e. not quick grading), give it a mark of 80.50, set the workflow status to In Progress and save the changes;
- I open the assignment up and looking at current grade in assignment it says 80/100 (which does not change, even if you mark the assignment at 80.99).
As far as I can tell, marks before the gradebook are saved into the assign_grades table where the datatype for the grade is decimal(10,5). The code for writing the mark starts on line 7740 of mod/assign/locallib.php and uses the function grade_floatval so it should be a float. Course grade settings are set to two decimals and when the workflow status changes to released, the correct mark with the decimal places is written into the gradebook so I cannot see any reason why I should be getting a whole number where I am not releasing the marks. Can someone shed any light on this please?