View Revisions: Issue #15405

Summary 15405: Numerical vs alphabetical order in EM, <, >, vs strcmp etc
Revision 2019-10-15 11:41 by ollehar
Description

Two problems:

"2" > "18" behaves differently in JS and PHP

Second problem:

The intuition behind "A2" > "A18" is wrong

Default answer code is A1. Press plus, and it become A10, A11, etc. Condition designer uses <, >, etc, but comparing "A2" < "A18" is probably not what user wants (instead "A02" < "A18" OR compare question order).

Revision 2019-10-15 11:32 by ollehar
Description

Two problems:

"2" > "18" behaves differently in JS and PHP

second problem:

The intuition behind "A2" > "A18" is wrong