Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
System
Temperature
ConvertToCelsius
System.Temperature.ConvertToCelsius C# (CSharp) Method
Temperature Class Documentation
Show file
Open project: porrey/iot
ConvertToCelsius()
public
static
method
Converts a temperature in Celsius to Fahrenheit.
public
static
ConvertToCelsius
(
this
fahrenheit
) :
float
fahrenheit
this
The temperature in Celsius.
return
float
public static float ConvertToCelsius(this float fahrenheit) => (fahrenheit - 32f) * 5f / 9f;
Temperature
ConvertToCelsius
ConvertToFahrenheit