vbscript – Rnd / Randomize

**FUNCTION:** `Rnd() / Randomize`

**Description**
Génère un nombre pseudo-aléatoire (0..1) ; `Randomize` initialise le générateur.

**Syntax**
`Rnd() / Randomize`

**Paramètres**
– *(aucun)*

**Exemples**
« `vb
Randomize
WScript.Echo Rnd
« `

**Output :** `0.1234…`

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *