Hi. Am I doing something really stupid. Conversion from string to Long, String=80000 getting conversion value of 14464. Rgds
Val(string) returns a word. So, 80,000 and 65535 [max permitted by a word] = 14464
Use StringtoLong(), StringtoWord(),StringtoByte() etc as Val() does not really help understanding the returned value.
So, StringtoLong() should resolve.
StringtoLong() resolved the issue.
Thanks.
Log in to post a comment.
Hi. Am I doing something really stupid. Conversion from string to Long,
String=80000 getting conversion value of 14464.
Rgds
Val(string) returns a word. So, 80,000 and 65535 [max permitted by a word] = 14464
Use StringtoLong(), StringtoWord(),StringtoByte() etc as Val() does not really help understanding the returned value.
So, StringtoLong() should resolve.
StringtoLong() resolved the issue.
Thanks.