Converting string into integer

Converting string into integer

hoang_nk
Not applicable
657 Views
1 Reply
Message 1 of 2

Converting string into integer

hoang_nk
Not applicable

[ FlexSim 22.1.2 ]

Hello,

I would like to ask if it is possible to convert a string data into an integer. I found the command string.toNum but the output is double, and I would like to use exactly integer for that data.

Thanks in advance.

0 Likes
Accepted solutions (1)
658 Views
1 Reply
Reply (1)
Message 2 of 2

lars_jacobsen_ScandiSim
Advocate
Advocate
Accepted solution

You can assign the result to an integer instead of double.

1658299564982.png


0 Likes