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

When a create a data set for a calculated question with 1 decimal, whole numbers don't keep the decimal.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.3
    • Fix Version/s: 1.8.5, 1.9.1, 2.0
    • Component/s: Questions, Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      When a new data set is created for a calculated question with a data range of 0 - 50 with 1 decimal, it works fine unless the value is 40 in which case it makes a 40 instead of a 40.0 which messes up my students when they see that and are expected to follow significant figure rules.

        Attachments

        There are no Sub-Tasks for this issue.

          Activity

            People

            Assignee:
            ppichet Pierre Pichet
            Reporter:
            peschtra Peter Kupfer
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Apr/08