Random Number Function


/ Published in: JavaScript
Save to your folder(s)

mran( float minimum_number , float maximum_number) (returns int)


Copy this code and paste it in your HTML
  1. function mran(ma,mi)
  2. {return(Math.round(Math.random()*(ma-mi))+mi)}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.