Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

StrToUInt64Def

Convert a string to an unsigned 64-bit integer value, with a default value.

Declaration

Source position: sysstrh.inc line 152

function StrToUInt64Def(

  const S: string;

  Default: UInt64

):UInt64;

Description

StrToIntDef will convert a string to an unsigned 64-bit integer. If the string contains invalid characters or has an invalid format, then Default is returned.

To be successfully converted, a string can contain a combination of numerical characters. Spaces are not allowed.

Errors

None.

See also

IntToStr

  

Convert an integer value to a decimal string.

StrToUInt64

  

Convert a string to unsigned integer value.

TryStrToUInt64

  

Try to convert a string to an unsigned 64-bit integer, and report on success.

StrToInt64

  

Convert a string to an Int64 value.


Documentation generated on: Oct 02 2024