celsiusToFahrenheit
Converts Celsius to Fahrenheit.
Follows the conversion formula F = 1.8C + 32
.
typescript
const celsiusToFahrenheit = (degrees: number) => 1.8 * degrees + 32;
typescript
celsiusToFahrenheit(33); // 91.4
Converts Celsius to Fahrenheit.
Follows the conversion formula F = 1.8C + 32
.
const celsiusToFahrenheit = (degrees: number) => 1.8 * degrees + 32;
celsiusToFahrenheit(33); // 91.4