added celcius conversion function, temp truncation