Advertisement
rdsedmundo

Mathrandom

Oct 1st, 2011
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. n = Math.random()*Math.PI;
  2. n = n.toString().substr(1,6);
  3. y = Math.pow(n,10).toString().replace('.','');
  4. alert(y.substr(1,4)+Date.now().toString().substr(1,4));void 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement