Problems with decimal numbers (older vs. latest Open Sesame version)
Dear Forum,
I programmed my experiment using the latest version of Open Sesame (3.3.12) and tried to run it in the lab. In the lab, we still have an older version of Open Sesame installed (3.2.7). Unfortunately, there seems to be an issue with decimal numbers. When I run the experiment with the latest version of Open Sesame, everything is working as intended. However, when I run the experiment with the old version (both in the lab and on my laptop), decimal numbers are not displayed and saved to the log file correctly. Instead, the numbers are rounded. For example, when the stimulus is supposed to display 27.50, it displays 27.00 in the old version (and logs 27). This does not occur when I run it with the new version. I am not rounding any numbers in the experiment, just limiting the number of decimals for the text elements to two.
Do you have any ideas what the problem could be? I am grateful for any recommendation!
Thanks a lot in advance & best,
Sarah
Comments
Hi @sarah_alexandra ,
Is it not possible to update the lab version of the lab? If not, could you upload your experiment here, so that we can find a work-around? For example by converting the float variables to strings before saving them?
Cheers,
Lotje
Did you like my answer? Feel free to

Hi Lotje,
Thanks a lot for your answer :)
In the meantime, I was able to solve the problem: it was about the difference in integer division between Python 2 and 3 and I had to add the following addition to my code so that it runs in the old OS version:
Best,
Sarah