Posted By

systemride on 12/09/11


Tagged

javascript


Versions (?)

Random range


 / Published in: JavaScript
 

Random range between -20 and 20

  1. var randomRot = Math.floor(Math.random()*20)-Math.floor(Math.random()*20)

Report this snippet  

You need to login to post a comment.