StrToInt64 converts a String into an Int64 data type.
Please review Integer (Integer, Cardinal, Int64) for additional information about the Int64 data type.
If the String does not contain a Integer (such as a number including decimals), then the value will cause an error, and the Action will fail.
You could use a Try...Except block to handle the error and provide a default value.
Declaration: Function StrToInt64( const S : string) : Integer;
An example follows.