Steps to reproduce:
- Set pass mark in the course completion settings, e.g. 60%.
- give student any course final mark that is 59.44445 - 59.9%
- Grade book should be using the default decimal places (0).
Result displayed in grade book for said student is 60.
Completion report will indicate a fail.
Using the default configuration yields unexpected results, whereby the course completion settings uses the 5 decimal point mark in the database, rather than the expected rounded number (60 in our example).
Current workaround: set course completion passmark using 5 decimal places, e.g. 59.44445.