Electronic thermometer for the forehead