I need to turn a string field value into an integer, how do I do that?
The Numerify Function converts event fields that are numbers to type number .
Extract numeric values from event fields
Number(field) or +field are equivalent.
If you have a hexadecimal number, you can use the Number.parseInt() function to convert from base 16 to base 10 (decimal).