fahrenheit to celsius c#
private void FahrenheitToCelsius(double fahrenheit)
{
var celsius = Math.Round((fahrenheit - 32) * 5 / 9, 2);
Console.WriteLine($"{celsius}°C");
}
// FahrenheitToCelsius(60); output 15.56°C
// FahrenheitToCelsius(77); output 25°C
// FahrenheitToCelsius(89); output 31.67°C
Also in C#:
- how to insert <input> datatype <td> in asp.net core table
- edit bool from diffirent script
- c# combobox datasource enum
- c# counting lines
- .net core check if linux
- unity to integer
- how to add an embedded resource in visual studio code
- Assets\playermove.cs(30,37): error CS1003: Syntax error, ',' expected
- snippet to create constructor in asp.net c#
- c# join string array
- c# loop through object
- iterate through xpdictionary devexpress
- How to make a function in C#
- how can convert string to int csharp
- font family behind code uwp c#
- unity transformer double en float
- : ? conditioanl statement c#
- asp.net core razor pages upload file
- c# md5 hash file
- c# use hashtable check if key exists
- c# make string null
- reload scene unity
- how to create a list in c# unity
- C# invoke