System.SysUtils.StrToInt64Def
Delphi
function StrToInt64Def(const S: string; const Default: Int64): Int64;
C++
extern DELPHI_PACKAGE __int64 __fastcall StrToInt64Def(const System::UnicodeString S, const __int64 Default)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
説明
整数(10 進数または 16 進数)を表す文字列を数値に変換します。
StrToInt64Def は、10 進か 16 進の整数型数値を表す文字列 S を数値に変換します。 出力値は、64 ビット サイズの整数です。S が有効な数値を表していない場合、StrToInt64Def は Default 内で渡された数値を返します。
StrToInt64Def は、次の 16 進数表記の文字列をサポートしています:
- Delphi: 0$1234 と 0x1234
- C++: 0x1234