Help us help you
Is your feature request related to a problem? Please describe.
Recently #2421 was merged, which converts the new int64 type to a string. I would like to use a function that converts a string back to int64, just like the existing StringToInt64 function but for the real int64 type.
Describe the solution you'd like
A function such as int StringToInt64Ex(const char[] str, int64 result, int nBase) would be nice. This means we can keep StringToInt64 for backward compatibility. Even better would be to return the result without passing it as a parameter like the StringToInt function. Either way works for me.
Help us help you
Is your feature request related to a problem? Please describe.
Recently #2421 was merged, which converts the new
int64type to a string. I would like to use a function that converts a string back toint64, just like the existingStringToInt64function but for the realint64type.Describe the solution you'd like
A function such as
int StringToInt64Ex(const char[] str, int64 result, int nBase)would be nice. This means we can keepStringToInt64for backward compatibility. Even better would be to return the result without passing it as a parameter like theStringToIntfunction. Either way works for me.