ThreadSafeRandomSource.NextSingle Method

Returns a random single-precision floating-point number in the range [0.0, 1.0).

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public float NextSingle()

Return Value

Single
A single-precision floating point number in the range [0.0, 1.0).

Implements

IRandomSource.NextSingle()

See Also