I have noticed a strange behavior with unit conversions that I don't understand. In the MWE attached, the duration of an hour should be given in s (seconds), and the user gives his answer in ks (kilo seconds).
With the following lines in conversion_rules.php, the input answer 3.6 ks is correctly interpreted:
With the following lines in conversion_rules.php, the input answer 3.6 ks is not correctly interpreted:
With the following lines in conversion_rules.php, the input answer 3.6 ks is correctly interpreted:
s: k;
60 s = 1 min;
1 min = 60 s;
questions-Unit Conversion-20250623-2343.xml.zip
I have noticed a strange behavior with unit conversions that I don't understand. In the MWE attached, the duration of an hour should be given in s (seconds), and the user gives his answer in ks (kilo seconds).
With the following lines in
conversion_rules.php, the input answer3.6 ksis correctly interpreted:With the following lines in
conversion_rules.php, the input answer3.6 ksis not correctly interpreted:With the following lines in
conversion_rules.php, the input answer3.6 ksis correctly interpreted:questions-Unit Conversion-20250623-2343.xml.zip