Skip to content
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

Fix: Make Utils::toHex compatible with floats #309

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hhun
Copy link

@hhun hhun commented Dec 12, 2022

修复:使 Utils::toHex 兼容 浮点数
Fix: Make Utils::toHex compatible with floats

@hhun
Copy link
Author

hhun commented Dec 12, 2022

Utils::toHex('0.01');

Call to a member function toHex() on array

@hhun
Copy link
Author

hhun commented Oct 30, 2023

@sc0Vu

Please merge this file

\Web3\Utils::hexToBin(\Web3\Utils::toHex('100'))
\Web3\Utils::hexToBin(\Web3\Utils::toHex('0.1'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant