public static bool IsNullOrValue(this double? value, double valueToCheck) { return (value??valueToCheck) == valueToCheck; }