Hey Team - How do we convert a String Variable into a Number when assigning to dynamic variable?
This doesn't work
ZipCode is String and intZip is a dynamic number
Hello,
MathJS has a math.number
function that might work for you. Here is a page to reference: math.js | an extensive math library for JavaScript and Node.js. Though, when we use MathJS inside scripter, we drop the "math" part, so it would look something like: number("90210")
. This would convert the string into a number format. Hope this helps answer your question.
Best
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.