Random.Gaussian

From Xojo Documentation

Method

Random.Gaussian() As Double

Supported for all project types and targets.

Returns a random number drawn from a Gaussian (a.k.a. Normal) distribution rather than from a uniform distribution.

Notes

The Gaussian distribution has a mean of zero and a standard deviation of 1.

Sample Code

This example generates a random number from a Normal distribution.

Var d As Double = System.Random.Gaussian