cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
604
Views
0
Helpful
2
Replies

CRA Editor: Convert integer to string

george
Level 1
Level 1

Is there a way to convert an integer o a sting so that it can be displayed by the Set Enterprise Data (without the use of Java Method as is not supported by the IPCC Express Standard version)?

./G

2 Replies 2

JimSJ
Level 4
Level 4

George,

Try the attached file. You can just call it as a subflow. Define variables for intTest (the integer value you want changed) and strFinal (string variable which you can leave blank) and pass both these variables to the subflow in the Call Subflow step. After the Subflow is called, it should populate strFinal in your script with the integer in a string variable. Note that as written, it will only support integers up to 10 digits. If you want it to be more, add more zeros to the intStart variable and increment intNumDigits to the total number of digits you end up with.

Pretty sure this should work with standard, let me know if it doesn't.

Jim

Thanks a lot Jim

./G