Home thermometer using a servo

map() is for integers.

What I think @Jevray wants is to replace this line
servoposraw =(180./60.)*temperature;
with this
servoposraw =(180./20.)*(temperature-10);
and you are correct about the range. That can be taken care of thus:

if (servopos < 0) servopos = 0;
if (servopos > 180) servopos = 180;