Exemple #1
0
        private static decimal RandomProjectionPercentage()
        {
            decimal percentage = RandomDataGenerator.RandomInt(75, 125);

            percentage /= 100;
            return(percentage);
        }
Exemple #2
0
        public static decimal RandomDecimal(int minValue, int maxValue)
        {
            decimal dollars = RandomDataGenerator.RandomInt(minValue, maxValue);
            decimal cents   = RandomDataGenerator.RandomInt(0, 99);

            cents = cents / 100;

            return(dollars + cents);
        }