Rnd

Return a pseudorandom number.

Syntax 
      Rnd[(seed)]

Key
   seed  A seed value of 0 will return the most recent random number
         A seed value > 0 will return the next random number(default)
         A seed value < 0 will return the same number

Example

  myrand = rnd()
  WScript.Echo myrand

“Find the seed at the bottom of your heart and bring forth a flower” ~ Shigenori Kameoka

Related:

Randomize - Initialise the random number generator
Equivalent Powershell command: Get-Random
Random Numbers in CMD or .js


© Copyright SS64.com 1999-2013
Some rights reserved