DLMUK
Member
hi,
I am trying to convert a string value to int but it is not working and I cannot figure out why.
I have a string which is constantly changing.
-012.33
-012.55
-012.69
-013.11
and so on...
I have placed this into an S_CONV block but the block returns an Int value of 4098 and this value never changes even when the string value changes.
I have my S_CONV in my OB1 just for the time being to test.
Screen shot:
https://www.dropbox.com/s/hu0dyxa8c9py5c3/conv.png?dl=0
Thanks
I am trying to convert a string value to int but it is not working and I cannot figure out why.
I have a string which is constantly changing.
-012.33
-012.55
-012.69
-013.11
and so on...
I have placed this into an S_CONV block but the block returns an Int value of 4098 and this value never changes even when the string value changes.
I have my S_CONV in my OB1 just for the time being to test.
Screen shot:
https://www.dropbox.com/s/hu0dyxa8c9py5c3/conv.png?dl=0
Thanks