[][src]Function nannou::ui::utils::value_from_perc

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

Adjust the value to the given percentage.