- Posts: 25
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
 ||st1.NAOK==4||st4_2.NAOK >= 1),1,floor(rand(1,2.999)))}
||st1.NAOK==4||st4_2.NAOK >= 1),1,floor(rand(1,2.999)))}{if(st1.NAOK==3 || st1.NAOK==4 || st4_2.NAOK >= 1, 1, rand(1, 2))}
 OR st1.NAOK==4 OR st4_2.NAOK >= 1. Otherwise it will return a random number 1 or 2.
 OR st1.NAOK==4 OR st4_2.NAOK >= 1. Otherwise it will return a random number 1 or 2.    Typical rand routines in many programming-languages are not returning whole numbers.tpartner wrote: I don't understand the use of floor()