本文整理自网络,侵删。
function HexToDec(const AHexString: String): Integer;begin// 16 进制转换为 10 进制;Result := StrToInt('$'+ AHexString);end;
相关阅读 >>
Delphi winapi: gettickcount - 获取系统已启动的时间
Delphi2010中使用pchar时e2010 incompatible types: 'char' and 'ansichar' 错误的处理
更多相关阅读请进入《Delphi》频道 >>