K
keerangel
Unregistered / Unconfirmed
GUEST, unregistred user!
dbgrid.fieldcolumns[splitlist.strings[0]].field.value:=formatfloat('0.00',tax*taxrate/100);<br>当 tax=20.3 taxrate=5的时候计算出来的.value是1.01<br><br>但dbgrid.fieldcolumns[splitlist.strings[0]].field.value:=formatfloat('0.00',20.3*5/100);<br>计算出来却是1.2<br><br>请问这是怎么回事啊?