Convert char to integer before printing.