System.SysUtils.StrToUInt64

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StrToUInt64(const S: string): UInt64;

C++

extern DELPHI_PACKAGE unsigned __int64 __fastcall StrToUInt64(const System::UnicodeString S)/* 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.

StrToUInt64 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, StrToUInt64 raises an EConvertError exception.

StrToUInt64 supports strings in the following hexadecimal notations:

  • Delphi: 01234ドル and 0x1234.
  • C++: 0x1234.

See Also

Retrieved from "https://docwiki.embarcadero.com/Libraries/Sydney/e/index.php?title=System.SysUtils.StrToUInt64&oldid=711419"