Convert char to int before output.