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

Decimal places of tolerance in calculated question types deleted when entered with comma


    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.4
    • Questions

      If the tolerance (error) of an answer in any of the three calculated question types is entered using a comma as decimal separator (e.g. 1,25) decimal places are deleted when saving the question (e.g. 1,25 becomes 1). Saving of the question works fine so teachers don't know about the deleted decimal places. As a result of the deleted decimal places, answers that should be within the specified tolerance are marked as wrong.

      Expected behavior
      When the language of the course / chosen by the user is set to German I would expect that Moodle accepts comma as decimal separator also for tolerance in all 3 calculated question types.

      If this is not possible I would expect that Moodle throws an error message when saving instead of just deleting decimal places.

            rezaie9 Shamim Rezaie
            rezaie9 Shamim Rezaie
            1 Vote for this issue
            1 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.