mostafa.oudderhem | 2022-03-08 00:02:38 UTC | #1
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.
Jason_Mathison | 2022-03-08 15:11:46 UTC | #2
What happens when you try using the toString?
mostafa.oudderhem | 2022-03-08 15:13:42 UTC | #3
Hi Jason,
I have create a dynamic string variable to do this command toString({{var}}) but it didn't work.
Ben_Nelson | 2022-03-09 16:12:37 UTC | #4
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.)
system | 2022-04-09 16:13:01 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 13825