<New> how to convert char to int

But my char value is from sensor reading,

What should i do?

Post your code using the code tags </> on the top left of the tool bar so that it looks like this

code should be posted within code tags