question: @ SuppressWarnings ( "unused" ) public static float percentageToValue ( float percentage , float startValue , float endValue ) { float min = Math . min ( startValue , endValue ) ; float max = Math . max ( startValue , endValue ) ; float delta = max - min ; return ( delta * ( percentage / 100 ) ) + min ; }
target:  Convert a percentage in a value within the passed range of values.