if radiobutton4.Checked then
if num1<>0 then
edit3.text:=inttostr(num/num1);//出错
else
showmessage ('除数不能为0');提示[Error] Unit1.pas(61): There is no overloaded version of 'IntToStr' that can be called with these arguments
到底出了什么错啦
if num1<>0 then
edit3.text:=inttostr(num/num1);//出错
else
showmessage ('除数不能为0');提示[Error] Unit1.pas(61): There is no overloaded version of 'IntToStr' that can be called with these arguments
到底出了什么错啦
解决方案 »
- delphi DBGridEh 下拉列表怎样获得数据库中的值
- clientDataSet处理事务的问题,急.............
- 自己写了个类,运行出现不知名错误,请帮忙,谢谢
- 问一个弱弱的---------如何使用delphi帮助
- .
- 如何重新编译ACTVEX窗体?
- 判断一个文件是否能被打开?文件任意。
- 取字符串中某个字符用什么函数
- 谁有ModelMaker for D6的正式版
- 有谁做过发票的报表?要求:不能超出发票的区域!
- 关于窗体的淡出问题--高手指点
- 请高手执教,我想用directx实时播放从网络上传来的一个mpeg视频,应该怎么做呀?播放的是一个mpeg文件,但为了提高可靠性,每次读这个文
用楼上的 floatTostr()
or
if radiobutton4.Checked then
if num1<>0 then begin
edit3.text:=inttostr(num/num1);
end
else
showmessage ('除数不能为0');
or
if radiobutton4.Checked then
if num1<>0 then begin
edit3.text:=floattostr(num/num1);
end
else
showmessage ('除数不能为0');
或者
inttostr(num div num1)