public Fraction16(IFraction fraction) { int numerator, denominator; _wholeNumber = (short)(FractionUtil.GetNormalizedRational(FractionUtil.ToInt32(fraction.WholeNumber), FractionUtil.ToInt32(fraction.Numerator), FractionUtil.ToInt32(fraction.Denominator, 1), out numerator, out denominator)); _numerator = (short)numerator; _denominator = (short)denominator; }