Change temperature to use 'double'.