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 cmdlet: Get-Random
Random Numbers in CMD or .js


 
Copyright © SS64.com 1999-2019
Some rights reserved