Added fahrenheit to .weather command
This commit is contained in:
16
NadekoBot.Core/Services/StandardConversions.cs
Normal file
16
NadekoBot.Core/Services/StandardConversions.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NadekoBot.Core.Services
|
||||
{
|
||||
public class StandardConversions
|
||||
{
|
||||
public static double CelsiusToFahrenheit(double cel)
|
||||
{
|
||||
return cel * 1.8f + 32;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user