how to convert char to num

how to convert char to num or visa versa
i am a beginner how to do it can someone guide me please

Ususally in a script you don't need to.

if you are speaking of "C" there you have functions
itoa and atoi to do the conversion :stuck_out_tongue: