converted temperature to float