-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add hexadecimal support for tonumber() #22585
Conversation
Hi @joe-bowman! Thanks for working on this. As you've seen in the implementation, What do you think about adding a new function called For example, it could have the signature We tend to prefer to avoid "implicit" behaviors like saying that a |
@joe-bowman, I would like to give it a shot if you aren't working on this. |
Please feel free - don't have the capacity to do it this week.
Thanks,
Joe
…On Wed, 4 Sep 2019, 18:44 Jeet Parekh, ***@***.***> wrote:
@joe-bowman <https://github.com/joe-bowman>, I would like to give it a
shot if you aren't working on this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22585?email_source=notifications&email_token=ABA7QYC3PRBY5Q22NNZBI2TQH7XXNA5CNFSM4IPFN7VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD54MKNI#issuecomment-528008501>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABA7QYG6DPOYVPKZXKRMSKDQH7XXNANCNFSM4IPFN7VA>
.
|
Cool, thanks. Will let you know if there's an update. |
I'm going to close this because the parseint function PR was merged and so obviates this. Thanks @joe-bowman for suggesting this! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
fixes #22584
add ability for
tonumber()
to support 0x prefixed hexadecimal stringse.g.
will return: