Incorrect assignment from response to variable


Author
Message
allthedecs
allthedecs
Respected Member (457 reputation)Respected Member (457 reputation)Respected Member (457 reputation)Respected Member (457 reputation)Respected Member (457 reputation)Respected Member (457 reputation)Respected Member (457 reputation)Respected Member (457 reputation)Respected Member (457 reputation)
Group: Forum Members
Posts: 5, Visits: 8
I'm having a problem where I'm assigning a slider response to a <values> item, but in the <summarydata> file the value saved is slightly off the actual response.

The command I'm using is:
values.unknown30bet = surveypage.unknown_urn_page.response/100

As an example, when looking in the raw data file I can see that the response was (accurately) saved as 647, but the value stored in the summary data file for values.unknown30bet is 6.4699999999999997513.

I've attached the code in case it helps, but I'm a bit of an amateur so I'm aware that it might be a bit messy!

Thanks in advance
Attachments
urntask.iqx (540 views, 23.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search