Has anyone created a function to take a single char number (0-255) and convert that into a size of 3 char array as actual chars?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Has anyone created a function to take a single char number (0-255) and convert that into a size of 3 char array as actual chars?
digit[0] = numb / 100 + '0';
digit[1] = (numb % 100) / 10 + '0';
digit[2] = (numb % 10) + '0';
**Attention** This is a public forum