Quantcast
Channel: Allen Bradley / Rockwell Automation Latest Topics
Viewing all articles
Browse latest Browse all 3721

ASCII to INT conversion

$
0
0

Hello, if I am receiving an ASCII string of for example "12345" With each number being an ASCII char, how do I convert these to an integer but maintaining the numeric value of "12345".

Lets say I receive 500 from a weighing terminal in ASCII form and I want to use that 500 and mov it into an integer or float do I need to do the ASCII to integer conversion function?

Thanks.

 

 


Viewing all articles
Browse latest Browse all 3721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>