Enforcing numeric input - mkraska/meclib GitHub Wiki

Sometimes you want the students to input numbers. "Numeric" accepts anything except variables. Function names and operators have to be suppressed explicitly using the "forbidden words" field.

You also could use options floatnum:true or intnum:true. Yet, floatnum forces the students to write the decimal point even if the result is integer.