Added fahrenheit to .weather command

This commit is contained in:
Master Kwoth
2017-10-19 08:11:47 +02:00
parent e8e6854959
commit cae1df82b8
3 changed files with 21 additions and 3 deletions

View 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;
}
}
}