返回0-99之间的随机数

  1. <html>
  2. <body>
  3.  
  4. <script type="text/vbscript">
  5. randomize()
  6. randomNumber=Int(100 * rnd())
  7. document.write("随机数:<b>" & randomNumber & "</b>")
  8. </script>
  9.  
  10. </body>
  11. </html>