SciPy

scipy.constants.F2C

scipy.constants.F2C(F)[source]

Convert Fahrenheit to Celsius

Parameters:

F : array_like

Fahrenheit temperature(s) to be converted.

Returns:

C : float or array of floats

Equivalent Celsius temperature(s).

Notes

Computes C = (F - 32) / 1.8.

Examples

>>> from scipy.constants.constants import F2C
>>> F2C(_np.array([-40, 40.0]))
array([-40.        ,   4.44444444])

Previous topic

scipy.constants.K2C

Next topic

scipy.constants.C2F