public static bool DoubleIsEqualTo(double a, double b, double maxDiff = double.Epsilon) => Math.Abs(b - a) <= maxDiff;
441000cookie-checkDouble equals
public static bool DoubleIsEqualTo(double a, double b, double maxDiff = double.Epsilon) => Math.Abs(b - a) <= maxDiff;