Numeric questions - units are case sensitive

Numeric questions - units are case sensitive

by Susana Caixinha -
Number of replies: 2

Hi,

I'm trying to use a numeric question with units.

When Moodle correct th answer like 1kg is ok, but if the student answers with 1Kg Moodle indicates that the units are wrong.

If I try to save the unit kg and Kg Moodle gives a database error, its just like tu«he error reported here: https://moodle.org/mod/forum/discuss.php?d=148394

Do you have any answer for this problem?

we are with Moodle 3.8.2+ 

thanks in advance

Susana


Average of ratings: -
In reply to Susana Caixinha

Re: Numeric questions - units are case sensitive

by Dominique Bauer -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hello Susana,

I suggest you consult the very official SI brochure, which is very well written.

In my opinion, it would not be a waste of time for students to learn that kilogram always abbreviates to kg and never to Kg, kG or KG. smile

Average of ratings: Useful (1)