Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-32356

Some grades passed to LTI outcomes result in errors because of mathematical precision

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 11.4
    • Fix Version/s: 11.4, 12.0 [Tentative]
    • Component/s: BasicLTI
    • Labels:
      None
    • 11 status:
      Resolved

      Description

      Some grades when a provider passes it to LTI are resulting in precision problems.

      For example the grade

      .57 * 100.0 is resulting in the value of 56.999999 rather than the expected 57.0.

      The grade value should be rounded off to 2 decimal places of precision to avoid these errors.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code