|
Post by giorgia on Feb 10, 2021 22:17:34 GMT
Hi everyone
At the end of my survey, participants will see the amount of points they collected during a previous embedded experiment.
I employed this code for doubling the points and it works.
l: myscore t: set - calc ( $win * 2 )
l: feedback_points t: info b:Click here to finish q: <b>You won {$myscore} points</b>.
The only problem I have is that the points are shown like "You won 52.0 points" (even if they are all integers, since the points to be doubled range from 1 to 48).
Do you know how to get rid of the 0 and show participants only integer numbers?
I tried with the function round() but it did not work.
Thank you!
|
|