System.SysUtils.StrToUInt64
Delphi
function StrToUInt64(const S: string): UInt64;
C++
extern DELPHI_PACKAGE unsigned __int64 __fastcall StrToUInt64(const System::UnicodeString S)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
説明
整数を表す文字列(10 進または 16 進表記)を数値に変換します。
StrToUInt64 は、整数型数値を 10 進または 16 進表記で表した文字列 S を数値に変換します。出力値は、符号なし 64 ビット整数です。S が有効な数値を表していない場合、StrToUInt64 は EConvertError 例外を発生させます。
StrToUInt64 では、以下の 16 進表記の文字列をサポートしています。
- Delphi の場合: 0$1234 および 0x1234
- C++ の場合: 0x1234