社区
Delphi
帖子详情
There is no overloaded version of 'IntToStr' that can be called with these arguments是什么意思啊
ATCG
2003-07-29 02:50:12
当我执行 inttostr(int(一个double型的变量))时,出现如下提示,是什么意思啊?
There is no overloaded version of 'IntToStr' that can be called with these arguments
...全文
3082
10
打赏
收藏
There is no overloaded version of 'IntToStr' that can be called with these arguments是什么意思啊
当我执行 inttostr(int(一个double型的变量))时,出现如下提示,是什么意思啊? There is no overloaded version of 'IntToStr' that can be called with these arguments
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
10 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
fansnaf
2003-07-29
打赏
举报
回复
trunc取整数;
round四舍五入
geodgehoul
2003-07-29
打赏
举报
回复
那是你程序其他问题出错了巴,要不
var i :integer;
begin
showmessage(inttostr(i));
end
肯定是可以的啊
fansnaf
2003-07-29
打赏
举报
回复
同意楼上的;
是说:没有inttostr()的重载,因此不能使用该函数。
实际上是你的参数不对,
可以这样: inttostr(trunc(double型))
firetoucher
2003-07-29
打赏
举报
回复
inttostr(round(一个double型的变量))
ATCG
2003-07-29
打赏
举报
回复
请给个例子行吗,我没有用过
ATCG
2003-07-29
打赏
举报
回复
inttostr(一个整型变量); 也不行啊
只有这样才行:inttostr(100);
windofsun
2003-07-29
打赏
举报
回复
请注意Delphi里的Int函数,返回值是一个Extended类型
function Int(X: Extended): Extended;
ATCG
2003-07-29
打赏
举报
回复
那应该怎么给参数啊?
windofsun
2003-07-29
打赏
举报
回复
意思就是:虽然存在这个名称的函数,但参数类型或参数的个数不匹配
idilent
2003-07-29
打赏
举报
回复
你给参数不对
There is no over
load
ed
version
of '
Int
ToStr
' that
ca
n be
ca
l
l
ed
with these
arguments
解决方法
当我执行
int
tostr
(
int
(一个double型的变量))时,出现如下提示,是
什么意思
啊?Thereisnoover
load
ed
version
of'
Int
ToStr
'that
ca
nbe
ca
l
l
ed
withthese
arguments
解决方法: 把用的
int
tostr
()函数改为 float
tostr
() 函数...
XE4 There is no over
load
ed
version
GetTextExtentPo
int
32A
[dcc32 Error] dxGrDate.pas(1402): E2250 There is no over
load
ed
version
of 'GetTextExtentPo
int
32' that
ca
n be
ca
l
l
ed
with these
arguments
GetTextExtentPo
int
32A(Handle, PWideChar(A
Ca
ption), Length
delphi 重载 重写_Delphi方法重载和默认参数
delphi 重载 重写 Functions and proc
ed
ures are an important part of the Delphi ... Starting with Delphi 4, Delphi allows us to work with functions and proc
ed
ures that support default parameters (maki...
Delphi DLL制作和加载 Static, Dynamic, Delay
ed
以及 Shar
ed
-Memory Manager
That means MainFunc is the only function which
ca
n be
ca
l
l
ed
from outside. If you ne
ed
to export any other function or proc
ed
ure , you have to include it under the Exports clause. Dll
load
ing ...
通过CrossTalk在Delphi中使用ADO.Net(1)
[DCC Error] Unit4.pas(53): E2250 There is no over
load
ed
version
of 'Serialize' that
ca
n be
ca
l
l
ed
with these
arguments
把定义改为FileStream = class(Stream),编译过了,但执行到这句: vDataSet....
Delphi
5,929
社区成员
262,934
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章