XNACS1Lib: CSS490 Spring 2011
Returns a random float between 0 and max. This function may return 0, or may return a number that's close to max, but will never return max itself

Namespace: XNACS1Lib
Assembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0

Syntax

C#
public static float RandomFloat(
	float max
)

Parameters

max
Type: System..::..Single
Max number to be returned.

Return Value

A random number between 0 and max.

See Also