NextFloat Method (Single)

Project Mercury API

[This is preliminary documentation and is subject to change.]

Returns a random float betwen 0.0 and the specified upper bound.

Namespace:  ProjectMercury
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
public static float NextFloat(
	float max
)
Visual Basic (Declaration)
Public Shared Function NextFloat ( _
	max As Single _
) As Single
Visual C++
public:
static float NextFloat(
	float max
)

Parameters

max
Type: System..::.Single
The inclusive upper bound of the random number returned.

Return Value

[Missing <returns> documentation for "M:ProjectMercury.RandomHelper.NextFloat(System.Single)"]

See Also