Trying to change Dollar value to number value

Hello, I am a major noob so please have patience with me.

I have stored a dollar value pulled from a report using the StoreText function. I would now like to convert this to a number value and then multiply it. Can someone help walk me through this? Just an FYI I also tried storing the dollar value as StoreValue function but it seems to not grab anything when I did that.


Use ExectueScript or better ExectueScript _SANDBOX and then one of these JS functions:

Converting strings to numbers with vanilla JavaScript

  1. parseInt() # The parseInt() method converts a string into an integer (a whole number ). It accepts two arguments. …
  2. parseFloat() # The parseFloat() method converts a string into a point number (a number with decimal points). …
  3. Number () # The Number () method converts a string to a number .
1 Like