示例#1
0
        public void Reduce()
        {
            int gratestCommonDivisor = ExtraMath.GetGreatestCommonDevisor(Numerator, Denominator);

            this.Numerator   /= gratestCommonDivisor;
            this.Denominator /= gratestCommonDivisor;
        }