Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61457

Completion tracking passing grade does not honour grade book rounding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.3
    • Fix Version/s: None
    • Component/s: Course completion
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE

      Description

      Steps to reproduce:

      1. Set pass mark in the course completion settings, e.g. 60%.
      2. give student any course final mark that is 59.44445 - 59.9%
      3. 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.

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mkpelletier Mathieu Pelletier
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: