Cascade.GameExtensions.Average C# (CSharp) Méthode

Average() public static méthode

public static Average ( this floats ) : float
floats this
Résultat float
        public static float Average(this float[] floats)
        {
            float flo = 0;
            foreach (var f in floats)
            {
                flo += f;
            }
            return flo / floats.Length;
        }
        public static string PrintAll(this float[] floats)