Files
LuckerGame/code/RandomExtensions.cs
2023-08-06 21:12:28 -07:00

12 lines
224 B
C#

using System;
public static class RandomExtensions
{
public static double NextDouble(
this Random random,
double minValue,
double maxValue )
{
return random.NextDouble() * (maxValue - minValue) + minValue;
}
}