Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m puzzled

How to create a random number?

Hi to Xavier and the ForeUI team,
I need to create a random number in my prototype. I've been trying to hack it by embedding a JavaScript Math.rand() function in a conditional, but I must not be doing it right.
What would be the best way to create a random number?

Thanks,

David Hoard
1 person has
this question
+1
Reply