STACK inputs

STACK inputs

by Noam Campbell -
Number of replies: 0

Hi,

for a STACK question we want to display a calculated value

var1/ans1

in the feedback for a wrong answer. That is the quotient given by an assigned value of a variable (var1) and the value of an input of the user (ans1).

In former STACK versions we just wrote:

text text  {@ ev(var2/ans1,simp) @} text text. 

That worked very well. Now we updated to 


Moodle 3.9 

STACK 4.3.10 for Moodle 3.9+

2021120900

Now the user no longer sees the result of the quotient as a numerical value but e.g. in case of var1 = 13 something like:

13/ans1

in the feedback.

Can you say what must we done in order to get the aforementioned quotient ? Documentation ?

Thanks a lot!


Best,


Noam

Average of ratings: -