Convert Char to int/long/double

Post ALL your code, and use code tags ("</>" button on post editor).

An "int" variable should suffice for a temperature.

Try

lcd.print(tempc);