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
到底出了什么错啦
解决方案 »
- idmessage怎么接收多个附件的邮件?
- 请求帮助,fastreport打印空记录的问题
- 从.net转到DELPHI,关于枚举变量的作用
- 用Delphi编写了一个试验DLL库,不能在VB中调用,何因???
- fastreport怎样做如下报表
- 我有遇到难题了,请高手帮我:关于sql语句的问题
- 有谁知道这个控件哪里有下的
- 各位高手前来指点,三层结构配置问题,解决之后另开一贴送分!谢谢大家!
- 高手来看看啊,我想在Delphi里面实现Asm,但是怎么也不能成功!
- 征求兼职,简单的数据库项目,要求人在上海。
- 关于窗体的淡出问题--高手指点
- 请高手执教,我想用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)