Closed christianp closed 2 years ago
Can I take this issue?
@odavarci thanks for offering to help! Please look at our guidance on contributing to Numbas. For this issue, you only need this repository, the Numbas runtime - the editor isn't necessary.
@christianp, I pulled a request.
These would be useful for insisting that a coefficient is worth including.
The annotations that change
$n
's behaviour are defined inruntime/scripts/jme-rules.js
, innumber_conditions
. To implement this, add entries fornonzero
andnonone
which check thattok.value != 0
(or1
)