RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.StrToInt64Def Function

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

Pascal
function StrToInt64Def(const S: string; const Default: Int64): Int64; overload;
C++
Int64 StrToInt64Def(const AnsiString S, const Int64 Default);

StrToInt64Def 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, StrToInt64Def returns the number passed in Default. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!