var S, Temp: string;
begin
Str(Sqr(5.0):3:1, Temp);
S := '5 squared is ' + Temp + #13#10;
Str(Sqrt(2.0):5:4, Temp);
S := S + 'The square root of 2 is ' + Temp;
MessageDlg(S, mtInformation, [mbOk], 0);
end;
begin
Str(Sqr(5.0):3:1, Temp);
S := '5 squared is ' + Temp + #13#10;
Str(Sqrt(2.0):5:4, Temp);
S := S + 'The square root of 2 is ' + Temp;
MessageDlg(S, mtInformation, [mbOk], 0);
end;
解决方案 »
- 请教:Indy能否判断某端口已经被TCPSERVER或者UDPSERVER绑定了?
- delphi操作xml的问题
- dantie qingwushan
- 高分求教一些sqlserver 查询问题?????
- FastReport的Cross的Grand total问题。
- 一个日期类型的问题,请高手们帮帮忙,小弟在线等待!!!!
- 怎么知道我的程序在任务栏中的位置,一定加分,谢谢!
- 请问一个有关SQL SERVER2000和DELPHI 7.0的连接问题
- 我想在delphi里使用一个vc做的active dll,应该怎么做?我是新手,请各位大侠多多指教。
- Button.Enabled=False时颜色变灰,Groupbox.Enabled=False颜色怎么不变?如何才能让它自动变灰?
- 为什么我的LISTVIEW的header怎么也显示不出来
- select 代入参数!
http://www.csdn.net/Expert/TopicView.asp?id=452216&datebasetype=
等于Base的Exponent次方