[][src]Function conrod_core::utils::value_from_perc

pub fn value_from_perc<T: Float + NumCast + ToPrimitive>(
    perc: f32,
    min: T,
    max: T
) -> T

Adjust the value to the given percentage.