BITKit/Packages/Core/Extensions/Float.cs

17 lines
332 B
C#
Raw Normal View History

2023-06-05 19:57:17 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BITKit
{
public static partial class Extensions
{
public static float GetDifference(this IEnumerable<float> self)
{
return self.Max() - self.Min();
}
}
}