Skip to main content

celsius_to_fahrenheit

Function celsius_to_fahrenheit 

Source
pub fn celsius_to_fahrenheit(celsius: f32) -> f32
Expand description

Converts a temperature from degrees Celsius to degrees Fahrenheit.

§Arguments

  • celsius - a temperature in degrees Celsius.

§Returns

The temperature in degrees Fahrenheit, celsius * 9 / 5 + 32.