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

TStringHelper.ToInt64

Convert string to 64-bit signed integer

Declaration

Source position: syshelph.inc line 76

public class function TStringHelper.ToInt64(

  const S: string

):Int64; overload;

function TStringHelper.ToInt64: Int64; overload;

Description

ToInt64 returns the contents of the string S as a 64-bit signed integer value (if possible). It uses StrToInt64 to convert the value to an 64-bit sized integer value.

Errors

If the string contains a value that cannot be translated to an integer value, an EConvertError exception may be raised.

See also

StrToInt64

  

Convert a string to an Int64 value.

EConvertError

  

Conversion error.

TStringHelper.ToBoolean

  

Convert string to boolean

TStringHelper.ToDouble

  

Convert string to double-sized floating point value

TStringHelper.ToExtended

  

Convert string to extended-sized floating point value

TStringHelper.ToInteger

  

Convert string to 32-bit signed integer

TStringHelper.ToSingle

  

Convert string to single-sized floating point value


Documentation generated on: Sep 28 2017