-
Delphi 计算正负数绝对值
Delphi 返回指定数值的绝对值,计算正负数绝对值的例子,FloatToStr(Abs)函数用法代码,示例中计算了小数、整数两种数据类型的绝对值,单击对应的箭头,即可查看计算结果,对应的三种计算方法,请参见以下代码:
procedure TForm1.SpeedButton1Click(Sender: TObject);
begin
Edit2.Text := FloatToStr(Abs(-1.5));
end;
procedure TForm1.SpeedButton2Click(Sender: TObject);
begin
Edit4.Text := FloatToStr(Abs(-200));
end;
procedure TForm1.SpeedButton3Click(Sender: TObject);
begin
Edit6.Text := FloatToStr(Abs(-1.80));
end;
- 2022-06-13 12:40:35下载
- 积分:1
-
working with popup menus
working with popup menus
- 2022-01-24 13:41:06下载
- 积分:1
-
delphi7 notepad
利用DELPHI7来编写的一个记事本。不是非常的完善,但基本的功能都实现了。-delphi7 notepad
- 2023-04-26 06:20:03下载
- 积分:1
-
该写字板实现了基本的文字录入,字体,颜色,大小,加粗,倾斜,和文字的剪切,复制,粘贴等功能...
该写字板实现了基本的文字录入,字体,颜色,大小,加粗,倾斜,和文字的剪切,复制,粘贴等功能-The tablet to achieve the basic text input, font, color, size, bold, italic, and text cut, copy, paste and other functions
- 2022-02-06 11:07:47下载
- 积分:1
-
只是从EXCEL导入的程序
只是从EXCEL导入的程序-only from Excel into procedures
- 2022-05-16 22:32:50下载
- 积分:1
-
DiskIdeSN2
说明: 短小精悍的Windows下硬盘序列号检测程序,能检测各种硬盘!(terse and forceful drive under Windows serial number detection procedure can detect various drives!)
- 2005-10-15 16:33:24下载
- 积分:1
-
Focus
CCTV镜头选择工具,通过监控范围来选择合适的镜头焦距。也可通过镜头的焦距,以及镜头跟监控目标的距离,来计算出视频的范围。(CCTV lens select tools.it use to select the focus of the lens by monitoring Area.also can counter the area of video by focus and distance.)
- 2012-08-12 23:47:08下载
- 积分:1
-
Delphi 文件目录操作
一个基础的Delphi 文件目录操作示例,这里是拷贝指定的文件夹目录,一是了解复制文件的原理,二是熟悉Delphi中的目录操作技巧。
- 2022-03-15 15:35:17下载
- 积分:1
-
Delphi
数学算法,该书内所有程序的源码,Delphi程序-Delphi
- 2022-04-10 10:55:17下载
- 积分:1
-
物资管理系统,数据库加delph编成;物资管理系统,数据库加delph编成...
物资管理系统,数据库加delph编成;物资管理系统,数据库加delph编成-Materials management systems, databases delph into Canada materials management systems, databases plus delph into
- 2022-05-28 17:15:18下载
- 积分:1