Beispiel #1
0
 /// <summary>
 /// Returns a random double that is within a specified range.
 /// </summary>
 /// <param name="minimum">The inclusive lower bound of the random number returned.</param>
 /// <param name="maximum">The inclusive upper bound of the random number returned, [maximum] must be greater than or equal to [minimum].</param>
 /// <returns></returns>
 public static double Double(double minimum, double maximum)
 {
     return(Arbitrary.Double() * (maximum - minimum) + minimum);
 }