DevToys-app / DevToysMac

DevToys For mac
MIT License
9.2k stars 353 forks source link

Increase max hexadecimal number #153

Open guillemap opened 3 months ago

guillemap commented 3 months ago

Probably related to #135

The issue is, for big numbers the input field becomes 0, for example for a hex number like 1c7af1bbebe1d6222e59 This makes the tool unusable for example when decoding hex data from Ethereum transactions where numbers are often bigints with +18 digits.

Expected behavior:

         Hexadecimal                     Decimal
1c7af1bbebe1d6222e59 -> 134494183072681609539161

Current behavior:

         Hexadecimal                     Decimal
1c7af1bbebe1d6222e59 ->                        0
 c7af1bbebe1d6222e59 ->                        0
  7af1bbebe1d6222e59 ->                        0
   af1bbebe1d6222e59 ->                        0
    f1bbebe1d6222e59 ->                        0
     1bbebe1d6222e59 ->       124952769875553881
      bbebe1d6222e59 ->        52895175837625945
veler commented 3 weeks ago

Hi,

DevToysMac is now archived and deprecated. We just released DevToys 2.0 for Windows, Mac and Linux. This issue may or may have not been addressed in the new version. If the issue persist, we encourage to open a new issue on https://github.com/DevToys-app/DevToys or https://github.com/DevToys-app/DevToys.Tools

See more information about DevToys 2.0 here: https://devtoys.app/blog/announcing-devtoys-2.0-preview