Open ewout opened 11 years ago
It is not that simple. Think about what happens in a multi-national course, where an English teacher re-grades a French student's quiz attempt (and other similar scenarios).
We got it very close to right in qtype_numerical, but that is still not exactly right.
It would be great if you could solve this, but I know how hard it is. Good luck.
As explained in https://docs.moodle.org/dev/Decimal_separator the behaviour expected for the "qtype_varnumericset" should be the same as "qtype_numerical" does. Depending on the language used, a point or a coma should be accepted as a decimal separator. Whilst "qtype_numerical" works right, "qtype_numerical" doesn't. Thanks
Tim, I've ssen your answer: https://moodle.org/mod/forum/discuss.php?d=340313#p1372151 thank you
We have a fix (we think...) for the number in student's answers: http://git.atp.usp.br/moodle.git/commitdiff/4d5649a620901b134dbf489d870c50aff4b5515e
However, there is a remaining issue with using commas in the correct answer or in variants.