Microsoft KB Archive/32704

From BetaArchive Wiki

FORTRAN-80 Random Number Generator Needs a Real Number

PSS ID Number: Q32704 Article last modified on 07-18-1988

3.36 3.37 3.42 3.43 3.44 CP/M-80

Summary: If RAN (the random number generator) is passed an integer, it will always return the same number. You must pass RAN a real number for it to work correctly. For example, use RAN(-5.0), not RAN(-5).