有没有理由在添加时混音数量不合适? 似乎在减去和添加时,加上减去整个 的数字和分数部分应该足够吗?我认为什么
Is there a reason why to make mix numbers improper when adding? It seems when subtracting and adding, adding a subtracting the whole numbers and fraction parts should be sufficient? what''ch think
推荐答案" sp0" <一个******* @ anonymous>在消息中写道 news:Xn ******************************* @ 199.45.49.1 1 ... "sp0" <an*******@anonymous> wrote in message news:Xn*******************************@199.45.49.1 1... 有没有理由在添加时混合数字不正确? 在减去和添加时,添加一个减去整个数字的数字和分数部分应该足够吗?什么'想' Is there a reason why to make mix numbers improper when adding? It seems when subtracting and adding, adding a subtracting the whole numbers and fraction parts should be sufficient? what''ch think
请给出你的意思的具体代码示例。 我不明白你的问题。 -Mike
Please give a specific code example of what you mean. I don''t understand your questions. -Mike
请提供具体的代码示例。我不明白你的问题。 Please give a specific code example of what you mean. I don''t understand your questions.
temp.whole = whole - obj2.whole; temp.numer =((整个* 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
" sp0" <一个******* @ anonymous>在消息中写道 news:Xn ******************************* @ 199.45.49.1 1 ... "sp0" <an*******@anonymous> wrote in message news:Xn*******************************@199.45.49.1 1... 请给出具体的代码示例。我不明白你的问题。 Please give a specific code example of what you mean. I don''t understand your questions.
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 produce correct results? -Mike
更多推荐
是否有理由在添加时混合数字不正确?
发布评论