Is it delphi`s bug?????
procedure TForm1.Button1Click(Sender: TObject);
var
tempInt: integer;
begin
tempInt := Floor((7.2 - 7) * 10);
showmessage(IntToStr(tempInt));
end;
//run the procedure behind and tell me why?
//why the result is 1 not 2????
//Is it delphi`s bug?
var
tempInt: integer;
begin
tempInt := Floor((7.2 - 7) * 10);
showmessage(IntToStr(tempInt));
end;
//run the procedure behind and tell me why?
//why the result is 1 not 2????
//Is it delphi`s bug?
...全文
相关推荐
urllib库(一)request模块:urlopen(),Request() 实现 get/post,urlretrieve() 下载网页文件,ProxyHandler()设置代理
一、urllib库 python3内置的urllib库不需要安装直接import导入 该库中主要模块有: urllib.request:用来打开和读取URL,是一个请求模块 urllib.error:包含了urllib.request产生的异常,是一个异常处理模块 urllib.parse:用来解析和处理URL,是一个解析模块 urllib.robotparse:用来解析页面的robots.txt urllib.response:响应模块 >>> help(urllib) Help on
chrome-headless-shell-win64-156.0.8078.80(Stable).zip
chrome-headless-shell-win64-156.0.8078.80(Stable).zip
FTP多连接自动上传工具
FTP多连接自动上传工具
P1851 好朋友.mp4
P1851 好朋友.mp4
自由学习记录(229)1
自由学习记录(229)1


语言基础/算法/系统设计
