Course completion grade rounding

Course completion grade rounding

by Steven Swanson -
Number of replies: 2
I would like to customize the grade rounding down on the displayed grade for course completion status. This is because I have students who have a display of 70% (70% required), yet they are not passing because their actual grade is 69.92% and it displayed a rounded value. I want to display a rounded down version, but can't find the php page where I can change this. ( I have done this before for various plugins, so I just need to be pointed in the right direction).

Thanks!


In reply to Steven Swanson

Re: Course completion grade rounding

by Hartmut Scherer -

Hi Steven,

I cannot help you with a php-page, but if you add another category in your gradebook and make the course total a subcategory of this newly created category, you can recalculate the total of your course (give it an ID) with the following formula in which 'coursetot' is the ID for course total:

=floor([ [coursetot] ])

Don't forget to delete the blank space between the two brackets. 

See HERE for more grade calculation functions.

With kind regards,

Hartmut

In reply to Hartmut Scherer

Re: Course completion grade rounding

by Steven Swanson -

Wow, that's thinking outside the box. I will have to try that! It might not be fun to do it to all 28 of my courses, but that should do the trick!


Thanks!

Steve