- Posts: 19
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
You're right for PHP, but I still find the common floor approach (used for non integer rand functions) in the manual. E.g. www.limesurvey.org/manual/Expression_Man...e_Question_Per_Grouptpartner wrote: Why are you using floor()? Why not simply rand(1, 4)?
At the outset, in Group 0, five hidden Equation questions, called ask1-ask5, are populated. Each one has the value of {floor(rand(1,6.9999))} in the question text field
Without seeing the complete survey, I would say "It's the way it is".Pernelle wrote: "And if you look at the saved values, you see 1-3 way more often than 4?"
--> that's right