Philipp Imhof

Results 154 comments of Philipp Imhof

> 2023-02-18 Add a significant figure function that outputs numbers, not strings. It could be called sifDig. See https://stackoverflow.com/questions/37618679/format-number-to-n-significant-digits-in-php for the code with and without trailing zeros. This could be...

This is probably related to #91 and #18.

I found the source of the problem: https://github.com/FormulasQuestion/moodle-qtype_formulas/blob/74ff90d1abd52dce639c872b04b59f7bd5d90d36/question.php#L145-L151 The function above sets the random and global variables to the value they had when the user started the question attempt. Now...

# For documentation purposes ## Moodle versions up to 3.11 In Moodle 3.11 and below, questions did not have multiple versions. Changes made to the question's settings (e.g. question text,...

As a side effect, this means that uploaded files (embedded in parts) will not be removed when the question is deleted.

@FloMiLe If you want to give it a try on a testing instance, you can find the future version 6.0.0 in [this branch](https://github.com/PhilippImhof/moodle-qtype_formulas/tree/parser). It is fully functional (i. e. no...

It is possible to test it on a production instance, but I would not recommend it, because there is a change in the way how attempts are stored. Hence, quiz...

@FloMiLe I have added some functionality that will allow switching back to 5.x after having tried upcoming 6.0.0. (Of course, switching back only works for attempts that do not contain...