private float InterpolateFloat(float min, float max, double attr) { return Convert.ToSingle((max - min) * Fraction(attr) + min); }