Sign in Join
FPDoc Onlineexperiment

StrToUInt64Def function

In unit sysutils

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

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.