convertempPy package¶
Submodules¶
convertempPy.convertempPy module¶
-
convertempPy.convertempPy.celsius_to_fahr(temp)¶ Convert Celsius to Fahrenheit.
Parameters: temp (int or double) – The temperature in Celsius. Returns: The temperature in Fahrenheit. Return type: double Examples
>>> from convertempPy import convertempPy as tmp >>> tmp.celsius_to_fahr(0) 32
-
convertempPy.convertempPy.celsius_to_kelvin(temp)¶ Convert Celsius to Kelvin.
Parameters: temp (int or double) – The temperature in Celsius. Returns: The temperature in Kelvin. Return type: double Examples
>>> from convertempPy import convertempPy as tmp >>> tmp.celsius_to_kelvin(-273.15) 0
-
convertempPy.convertempPy.fahr_to_celsius(temp)¶ Convert Fahrenheit to Celsius.
Parameters: temp (int or double) – The temperature in Fahrenheit. Returns: The temperature in Celsius. Return type: double Examples
>>> from convertempPy import convertempPy as tmp >>> tmp.fahr_to_celsius(32) 0
-
convertempPy.convertempPy.fahr_to_kelvin(temp)¶ Convert Fahrenheit to Kelvin.
Parameters: temp (int or double) – The temperature in Fahrenheit. Returns: The temperature in Kelvin. Return type: double Examples
>>> from convertempPy import convertempPy as tmp >>> tmp.fahr_to_kelvin(32) 273.15
-
convertempPy.convertempPy.kelvin_to_celsius(temp)¶ Convert Kelvin to Celsius.
Parameters: temp (int or double) – The temperature in Kelvin. Returns: The temperature in Celsius. Return type: double Examples
>>> from convertempPy import convertempPy as tmp >>> tmp.kelvin_to_celsius(273.15) 0
-
convertempPy.convertempPy.kelvin_to_fahr(temp)¶ Convert Kelvin to Fahrenheit.
Parameters: temp (int or double) – The temperature in Kelvin. Returns: The temperature in Fahrenheit. Return type: double Examples
>>> from convertempPy import convertempPy as tmp >>> tmp.kelvin_to_fahr(273.15) 32