public bool Within(double experimental, double theoretical) { double tolerance = Math.Abs(GetTolerance(experimental, theoretical, Unit)); double value = (Type == ToleranceType.PlusAndMinus) ? Value : Value/2; return tolerance <= value; }