CSS Logo XNACS1Lib Library Documentation
XNACS1Base.RandomFloat Method (Single)

Game-Themed Introductory Programming Project   

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

public static float RandomFloat(
   Single max
);

Parameters

max
Max number to be returned.

Return Value

A random number between 0 and max.

See Also

XNACS1Base Class | XNACS1Lib Namespace | XNACS1Base.RandomFloat Overload List