Calculated question - generate integers only

Calculated question - generate integers only

by Philipp Imhof -
Number of replies: 0
Picture of Core developers Picture of Plugin developers

Hello everybody

I created a dummy question in the current version of Moodle (3.3):  

  • Question Type: Calculated question
  • Question:  {a}x 
  • Answer: {a}

Parameters for the dataset:

  • Minimum: 1
  • Maximum: 10
  • Decimal places: 0

However, Moodle generates values such as 4.9 etc.

I clicked on "Show new item to add" (roughly translated, I am using the German version) and have "Update all wildcards" activated.

What else do I have to do if I want to have integer values for my wildcards?


Thanks & best regards



Attachment Unbenanntes Bild.png
Average of ratings: -