Convert Script variable number type to string

Hello,
I use Script to retrieve a value through Data Action as integer and I need to display it on field within the Script.
This field accept only string variable, my question is how to convert integer variable in script to the script ?

I tried toString (var) but didn't work.

Any idea ?

Thank you.

What happens when you try using the toString?

Hi Jason,

I have create a dynamic string variable to do this command toString({{var}}) but it didn't work.

The function for converting to a string is just string({{var}}), not toString. (It appears this used to be documented on the MathJS website linked from the docs, but isn't currently.)

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.