This is a repeat question I'd asked - unanswered - in a subgroup on this site, so apologies if I'm over-posting... (edited to add PDF to illustrate the current observed behavior).
Is there a way to convert/coerce a variable data type to be a number instead of a string - particularly in the Set Variable module? I'm using the Set Variable module to initially set a var to zero; it treats it like a string. So after I set it, under certain conditions, I take the current variable value and have it add +1 to itself in a subsequent module. And I'm noticing that the subsequent module that adds 1 to the variable looks at the 0 as a string and sets the new value to "01". If I test-feed it a 3, it sets the value to "31".
If I feed it a 3, I would instead want it to compute and set the variable to 4. I'm not picky about whether it's an integer or float as long as I can do math with it.
How do I let Fusion know I want this to be a number and not a string? I am using the "+" operator from the math functions, and yet it's still treating the two values as strings.
Thanks!