System.Windows.Forms.MathHelper.DistanceF C# (CSharp) Метод

DistanceF() публичный статический Метод

public static DistanceF ( float value1, float value2 ) : float
value1 float
value2 float
Результат float
        public static float DistanceF(float value1, float value2)
        {
            return Math.Abs(value1 - value2);
        }

Same methods

MathHelper::DistanceF ( PointF p1, PointF p2 ) : float
MathHelper::DistanceF ( float x1, float y1, float x2, float y2 ) : float