Posted By

mouseit101 on 09/04/06


javascript actionscript random Mathrandom

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


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.