Converts Celsius to Fahrenheit.
Follows the conversion formula F = 1.8C + 32
.
代码片段
const celsiusToFahrenheit = degrees => 1.8 * degrees + 32;
使用样例
celsiusToFahrenheit(33); // 91.4
Converts Celsius to Fahrenheit.
Follows the conversion formula F = 1.8C + 32
.
const celsiusToFahrenheit = degrees => 1.8 * degrees + 32;
celsiusToFahrenheit(33); // 91.4