Using PsychoPy 1.77, in the builder, I am trying to take numbers from my conditions file and write them to a new csv file. For example, PsychoPy is reading numbers like .17, .25, .84 -- and I want the program to write them to the csv exactly like that (i.e. numbers rounded to two decimal places). Instead, when I use TextWrangler to look at the output, I am getting true values (i.e. .170000001, .2499999999996, .8400000000000002).
How can I fix this? I know that float_format exists, but I haven't been able to get it to work. This has never been a problem for me before, but started to be an issue for some reason today.
Thanks!