This commit is contained in:
Robert committed 2019-12-02 20:14:28 +01:00
1 parent 9148323ad5
commit b8a678c97f
16 files changed
+172 -166

No files matched your search

@@ -0,0 +1,12 @@
using System;
namespace Artemis.Core.Extensions
{
public static class DoubleExtensions
{
public static int RoundToInt(this double number)
{
return (int) Math.Round(number, MidpointRounding.AwayFromZero);
}
}
}