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

Numerical question type - the units are displayed on the editing form with a stupidly large number of decimal places

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.9
    • 1.8.4, 1.9
    • Questions
    • None
    • PostgreSQL
    • MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      This is because Moodle pulls data from the database as strings, and, at least in Postgres, these columns are stored as numeric type, which seems to add all the decimal places.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Nobody Nobody
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jan/08