Add a new function: convertStrToUint64