RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.StrToInt64 Function

Converts a string that represents an integer (decimal or hex notation) to a number.

Pascal
function StrToInt64(const S: string): Int64;
C++
Int64 StrToInt64(const AnsiString S);

SysUtils

StrToInt64 converts the string S, which represents an integer-type number in either decimal or hexadecimal notation, into a number. If S does not represent a valid number, StrToInt64 raises an EConvertError exception. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!