Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Add tools: hexadecimal to decimal and vice-versa #131

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

Conversation

ZtereoHYPE
Copy link

This mimics Boop's hex to dec and vice-versa conversion, maintaining other strings, newlines, and spaces.

Example IO:

Hexadecimal to decimal

Input:

0x123 123 
0xABC abc
0x456555 hello

0x123zz

Output:

291 291
2748 2748
4547925 hello

0x123zz

Decimal to hexadecimal

Input:

291 291
2748 2748
4547925 hello

0x123zz

Output:

0x123 0x123
0xabc 0xabc
0x456555 hello

0x123zz

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

Successfully merging this pull request may close these issues.

1 participant