Var
strTemp:String;
Begin
strTemp:='6e34';
//把strTemp转成普通的数字
End;
strTemp:String;
Begin
strTemp:='6e34';
//把strTemp转成普通的数字
End;
解决方案 »
- DELPHI 写一个服务用来每天定时执行一个存储过程
- Delphi里面的字段如何理解?
- 请问 ListView 可以上下移动记录吗?
- 软件使用后提示连接失败!
- indy 控件詳解!~ 誰有資料!~ 感激不盡!~
- fastreport报表有些电脑上打印出问题,请教解决办法
- ★★★ 本人申请网络编程/分布式开发小版主,欢迎提出意见 ★★★
- 谁有ANIMATEIMAGE控件。
- 复选框问题。
- 请问 <<Delphi 6 开人员指南>> 出版了没有???
- 出现Access violation at address 0000001A. Read of address 0000001A.的错误,help!!
- 求救问题,大家一定在帮忙
StrToIntDef('$' + strTemp, 0);
strTemp,s:String;
a,b:int64;
i:integer;
Begin
strTemp:='6e34';
//把strTemp转成普通的数字
try
strTemp:=lowercase(formatfloat('#,##0.00',strtofloat(strtemp)));
a:=strtoint64(copy(strtemp,1,pos('e',strtemp)-1));
b:=strtoint64(copy(strtemp,pos('e',strtemp)+1,maxint));
s:='';
for i:=1 to b do
begin
s:='0'+s;
if i mod 3=0 then
s:=','+s;
end;
showmessage(inttostr(a)+s);
except
showmessage(strtemp+'不是有效的科学计数表示方法!');
end;
end;