Skip to content

[Feature request] String to int64 conversion #2441

@godrider

Description

@godrider

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions