Ninja Library - Mathematical Function
njRandom
Generates a random number
FORMAT
Float njRandom( void )
PARAMETER
None
RETURN
Real number in the range 0 <= X < 1
DESCRIPTION
Generates a random number in the range 0 <= X < 1 and returns the generated value as the result.
EXAMPLE
Float ret; : njRandomSeed( (unsigned)time( NULL ) ); ret = njRandom();
REFERENCE
njRandomSeed
()
njRandom
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999