社区
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
...全文
3067
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写文章
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
() 函数即可。 参考链接:http://bbs.cs...
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 language. 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
一 Dll的制作一般分为以下几步:1 在一个DLL工程里写一个过程或函数2 写一个Exports关键字,在其下写过程的名称。不用写参数和调用后缀。二 参数传递1 参数类型最好与window C++的参数类型一致。不要用DELPHI的数据类型。2 最好有返回值[即使是一个过程],来报出调用成功或失败,或状态。成功或失败的返回值最好为1[成功]或0[失败].一句话,与windows c++兼容。3 用...
通过CrossTalk在Delphi中使用ADO.Net(1)
atoz
ed
这个公司,做了个新项目(indy也是他们搞的),企图在Native与.Net中架起一个桥梁,让Delphi可以使用.Net的元件,地址在: http://www.atoz
ed
.com/CrossTalk/index.EN.aspx 因为ADO2.8后,MS不再维护
Delphi
5,916
社区成员
262,929
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章