temp.whole = whole - obj2.whole; temp.numer =((full * denom + numer)* obj2.denom) - ((obj2.whole * obj2.denom + obj2.numer)* denom); temp.denom = denom * obj2.denom; temp.reduce(); 减去整体而不是使两个分数不合适 temp.whole = whole - obj2.whole; temp.numer = ((whole * denom + numer)*obj2.denom) - ((obj2.whole * obj2.denom + obj2.numer)*denom); temp.denom = denom * obj2.denom; temp.reduce(); subtracting the wholes instead of making both fractions improper 那么您会提出其他方法吗?它是否会产生 正确的结果? -Mike So what other method would you propose? Does it producecorrect results? -Mike 这篇关于是否有理由在添加时混合数字不正确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-17 16:59