fahrenheitToCelsius

Converts Fahrenheit to Celsius.

  • Follow the conversion formula C = (F - 32) * 5/9.
const fahrenheitToCelsius = degrees => (degrees - 32) * 5 / 9;
fahrenheitToCelsius(32); // 0