Displaying a float number in sketchpad/feedback
I am trying to display a number on the screen (using the textline element in the sketchpad or feedback). This number is stored in a variable and is not an integer. I am trying to display the number by putting the name of the variable between brackets.
It works fine in OpenSesame, but in OSweb it displays an "integer version" of the number, e.g. it will display 2 instead of 0.02.
I tried various things including an inline script to convert the number into a string manually, but the results are the same. Any ideas?
Many thanks in advance.