Hi there! I’m using an API to retrieve the balance of crypto wallets. The issue is that the balances are returned in Hex decimal format and there isn’t a native function to convert from hex decimal to regular decimal in Airtable. The manual conversion is rather complex and not ideal at all. Wondering if there are any workarounds?
Thanks in advance!
Do you know the upper limit for the hexadecimal number? Is there a minimum or maximum number of digits?
You say the manual conversion process is complex. What manual process are using?
Your best bet is probably using a script to do the conversion. If the numbers are small enough, you could use a formula field that parses out the digits and does the math, but a script would be more robust.
Thank you for describing the manual process. That is the same process that could be used by a formula or a script. If there are always 16 digits, it might be possible to write a formula, but it might be pushing the limits of a formula field. If you have trouble finding a script online but have budget to hire someone to write the script, feel free to book an appointment with me.