howto go from char to byte.

Hi

I have a in the code i am trying to make.
This line will return a array of chars
So if the user inputs 7 for the month or 12 for the month i get it in chars

I need to get it converted to at byte

a char to byte converter :slight_smile:

Hope a kind soul like to help me out.

//
Allan

Look at atoi

Or you can try a look-up table.

Thanks for the solution.