CSS Logo XNACS1Lib Library Documentation
XNACS1Base.RandomFloat Method

Game-Themed Introductory Programming Project   

Returns a random number between 0.0 to 1.0

Overload List

Returns a random number between 0.0 to 1.0

public static float RandomFloat();

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);

Returns a float between min and max. This function may return min, or may return a number that's close to max, but will never return max itself

public static float RandomFloat(Single,Single);

See Also

XNACS1Base Class | XNACS1Lib Namespace