Get Random Number

 

function usefloor(min,max) {
return Math.floor(Math.random()*(max-min+1)+min);
}
 
http://liaosankai.pixnet.net/blog/post/19382531-%E4%BA%82%E6%95%B8-javascript-math.random()

One thought on “Get Random Number

  1. Discount codes

    Do you have a spam issue on this blog; I also am a blogger, and I was wondering your situation; we have developed some nice procedures and we are
    looking to swap solutions with other folks, please
    shoot me an e-mail if interested.

Comments are closed.