This constructor gets the temperature and the unit from other classes to convert.
stores the temperature from other class in this.convertedTemp.
stores the unit from other class in this.convertedUnit.
This class gets the new temperature and new unit and checks if they are in fahrenheit, celsius, kelvin. If the new unit is in fahrenheit it will not convet. But if the unit is celsius or kelvin it wil convert.
returns the converted temperature.
Generated using TypeDoc
This class converts the value to fahrenheit.