举报
1/2-1/10等于多少?等于0.45?楼主的数学真有问题 大绯狼 发表于 2009-5-20 13:03
Local $iResult = 0 For $i = 2 To 9 ; 一步步来 $iResult += 1 / $i - 1 / ($i + 1) Next MsgBox(0, "Result: ", '[' & $iResult & ']')
人脑算是这样: $iResult = 1/2 + 0 - 1/10 ; 中间都是减去再加上相同数字,作0处理 电脑算是这样:Local $iResult = 0 For $i = 2 To 9 ; 一步步来 $iResult += 1 / $i - 1 / ($i + 1) Next MsgBox(0, "Re ... sensel 发表于 2009-5-20 16:56
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-25 03:18 , Processed in 0.073262 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.