Extracted string to int64 logic