Exemple #1
0
        public INumber Average()
        {
            INumber sum     = this.Sum();
            INumber divider = new RationalNumber(this.numbers.Count, 1);
            INumber res     = sum.Division(divider);

            RationalNumber.Transform(res);
            return(res);
        }