[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

StrToInt64Def

Convert a string to an Int64 value, with a default value

Declaration

Source position: sysstrh.inc line 113

function StrToInt64Def(

  const S: String;

  Default: Int64

):Int64;

Description

StrToInt64Deftries to convert the string Sto a Int64 value, and returns this value. If the conversion fails for some reason, the value Defaultis returned instead.

Errors

None. On error, the Defaultvalue is returned.

See also

StrToInt64

  

Convert a string to an Int64 value.

TryStrToInt64

  

Try to convert a string to an int64 value, and report on success.

StrToInt

  

Convert a string to an integer value.

TryStrToInt

  

Try to convert a string to an integer, and report on success.

StrToIntDef

  

Convert a string to an integer value, with a default value.