Table of Contents

Method AreDoublesClose

Namespace
Alternet.Common.Wpf
Assembly
Alternet.Common.Wpf.v9.dll

AreDoublesClose(double, double)

Indicates whether specified parameters is close to each other.

public static bool AreDoublesClose(double d1, double d2)

Parameters

d1 double

First value to process.

d2 double

Second value to process.

Returns

bool

true if difference between specified parameters less then Epsilon; otherwise false.