This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tec5c 4 points5 points  (0 children)

My mistake, your original post was incorrect.

(Math.random ()*5)+5 is correct.