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

Pad bin/hex numbers #357

Closed
sys27 opened this issue Oct 2, 2020 · 0 comments · Fixed by #358
Closed

Pad bin/hex numbers #357

sys27 opened this issue Oct 2, 2020 · 0 comments · Fixed by #358
Assignees
Milestone

Comments

@sys27
Copy link
Owner

sys27 commented Oct 2, 2020

Pad binary/hex number to 8 bits.

tobin(0x7F) -> 0b01000000
tobin(0x7FFF) -> 0b01111111 11111111

tohex(15) -> 0x0F

@sys27 sys27 added this to the xFunc 4.0.0 milestone Oct 2, 2020
@sys27 sys27 self-assigned this Oct 3, 2020
sys27 added a commit that referenced this issue Oct 3, 2020
@sys27 sys27 closed this as completed in #358 Oct 3, 2020
sys27 added a commit that referenced this issue Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant