if trunc(100*(A-B))=0 then ..
什么意思?
什么意思?
解决方案 »
- 各位大侠帮我看下我的登陆窗口的问题。
- 求救!!Excel导入Access,字符串都不见了:(
- 有谁用过TimeSetEvent函数?
- 我如何判断这个表存不存在?
- 哪里有DynamicSkinForm 3.98 源码版下载
- 怎样用INSTALLSHIELD这个软件来进行打包
- 我的主窗口上的图片显示不出来
- [散分] 不解 D7中对话框,模式窗口,挂起范围问题
- 关于文件及目录操作的问题
- 请问delphi xe 如何生成一个标准的 dll, 供 PHP调用?
- Adoquery是不是不能执行'select * into [数据库绝对地址].[表名] From 表名'的SQL语句
- fastreport支持delphi7吗?,哪个版本支持?
譬如trunc(1.899) = 1;
example:
var S, T: string;
begin
Str(1.4:2:1, T);
S := T + ' Truncs to ' + IntToStr(Trunc(1.4)) + #13#10;
Str(1.5:2:1, T);
S := S + T + ' Truncs to ' + IntToStr(Trunc(1.5)) + #13#10;
Str(-1.4:2:1, T);
S := S + T + ' Truncs to ' + IntToStr(Trunc(-1.4)) + #13#10;
Str(-1.5:2:1, T);
S := S + T + ' Truncs to ' + IntToStr(Trunc(-1.5));
MessageDlg(S, mtInformation, [mbOk], 0, mbOk);
end;