Excel vba在乘以1或2时乘以2位小数,但不>;3.
我不知道这里发生了什么,我不得不把vba分开来理解它Excel vba在乘以1或2时乘以2位小数,但不>;3.,excel,vba,Excel,Vba,我不知道这里发生了什么,我不得不把vba分开来理解它 the value of textbox8 is 0.832676943005964 commandbutton4 multiplies textbox7 * textbox8 when textbox7 = .15 the answer is 0.124901541450895 which is correct when textbox7 = .1 the answer is 8.32676943005964E-02 which is
the value of textbox8 is 0.832676943005964
commandbutton4 multiplies textbox7 * textbox8
when textbox7 = .15 the answer is 0.124901541450895 which is correct
when textbox7 = .1 the answer is 8.32676943005964E-02 which is wrong
when textbox7 = .05 the answer is 4.16338471502982E-02 which is wrong
这是怎么回事
提前谢谢 这是正确的,它只是在科学记数法中
8.32676943005964*0.1
将产生0.083267643005964,然后就是E-2
。。。这些答案怎么会错呢?你到底在期待什么?简单的哇。谢谢