我用stringgrid做输入界面,怎样根据第二列某个单元格输入以后,第五列相应的单元值也相应改变
with DataInputStringGrid do
if Col = 2 then
      Cells[5,Row]:= floattostr(strtofloat(Cells[2,Row])*StrToFloat(Edit12.text));
当我在col=2中输入的时候出现 '' is not a valid floating point value 怎么解决阿??