Method NextFloat
- Namespace
- Alternet.UI.Extensions
- Assembly
- Alternet.UI.Common.dll
NextFloat(Random)
Returns a random single-precision float in the range [0.0f, 1.0f).
public static float NextFloat(this Random rng)
Parameters
rngRandom
Returns
NextFloat(Random, float, float)
Returns a random float in the range [min, max).
public static float NextFloat(this Random rng, float min, float max)