System.SysUtils.StrToUInt64Def
Delphi
function StrToUInt64Def(const S: string; const Default: UInt64): UInt64;
C++
extern DELPHI_PACKAGE unsigned __int64 __fastcall StrToUInt64Def(const System::UnicodeString S, const unsigned __int64 Default)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Converts a string that represents an integer (decimal or hex notation) into a number.
StrToUInt64Def converts the string S, which represents an integer-type number in either decimal or hexadecimal notation, into a number. The output value is an unsigned 64 bit sized integer. If S does not represent a valid number, StrToUInt64Def returns the number passed in Default.
StrToUInt64Def supports strings in the following hexadecimal notations:
- Delphi: 0$1234 and 0x1234.
- C++: 0x1234.