private double InterpolateDouble(double min, double max, double attr) { return (max - min) * Fraction(attr) + min; }