Use ExectueScript or better ExectueScript _SANDBOX and then one of these JS functions:
Converting strings to numbers with vanilla JavaScript
- parseInt() # The parseInt() method converts a string into an integer (a whole number ). It accepts two arguments. …
- parseFloat() # The parseFloat() method converts a string into a point number (a number with decimal points). …
- Number () # The Number () method converts a string to a number .