UnitTestFixtureGetRandom(Double, Int32) Method
Gets a random number.
Namespace: InnerDrive.CoreAssembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
protected static double GetRandom(
double maxValue,
int decimals
)
- maxValue Double
- The maximum value of the random number.
- decimals Int32
- The number of decimal places to use to round the random number.
DoubleA random
Double between 0 and
maxValue.
rounded to
decimals places.
The randomize function is reseeded with a value guaranteed to be different
than the last time it was called. However, the random number is not
cryptographically strong.