lcd.print(t_in, 0);
should be lcd.print(t_in, 1);
the -0 you see is for example -0.2 so truncating the output to zero decimals has the effect of -0
If you do not want the decimals convert the float to an int
lcd.print(int(t_in));
lcd.print(t_in, 0);
should be lcd.print(t_in, 1);
the -0 you see is for example -0.2 so truncating the output to zero decimals has the effect of -0
If you do not want the decimals convert the float to an int
lcd.print(int(t_in));