Posted By

mouseit101 on 09/04/06


Tagged

javascript actionscript random Mathrandom


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vali29


Random Number Function


 / Published in: JavaScript
 

mran( float minimumnumber , float maximumnumber) (returns int)

  1. function mran(ma,mi)
  2. {return(Math.round(Math.random()*(ma-mi))+mi)}

Report this snippet  

You need to login to post a comment.