C
CShrek
Unregistered / Unconfirmed
GUEST, unregistred user!
请问下面的语句那里有错a1:=qryDetail.FieldByName('scQty').AsFloat;a2:=qryDetail.FieldByName('Cavi').AsFloat;MyWorkBook.WorkSheets[1].Cells[i,13].Value:=''''+[red]floattostr(a1 div a2);[/red]红色的地方有错误有报错误,a1,a2是DOUBLE数据