一个要命的问题(10分)

W

wlt3022

Unregistered / Unconfirmed
GUEST, unregistred user!
我进行编译时,出现错误,请高手帮忙错在那里啊?先谢谢了。
strtofloat(stringgrid1.Cells[6,grow]):=strtofloat(stringgrid1.Cells[4,grow])-strtofloat(stringgrid1.Cells[5,grow]);
 
晕死。你是给什么赋值?
stringgrid1.Cells[6,grow] :=floattostr(strtofloat(stringgrid1.Cells[4,grow])-strtofloat(stringgrid1.Cells[5,grow]));
 
编译没错误了,但是在程序里执行了,还会出现
“is not a balid floating point value”错误。请高手指点。
 
搞错赋值对象了:)
 
怎么解决,请指点,谢谢
 
搞定 tks!
 

Similar threads

回复
0
查看
861
不得闲
D
回复
0
查看
828
DelphiTeacher的专栏
D
D
回复
0
查看
630
DelphiTeacher的专栏
D
D
回复
0
查看
605
DelphiTeacher的专栏
D
顶部