Converts Fahrenheit to Celsius.

Follows the conversion formula C = (F - 32) * 5/9.

代码片段

const fahrenheitToCelsius = degrees => ((degrees - 32) * 5) / 9;

使用样例

fahrenheitToCelsius(32); // 0