[][src]Function msr::util::map_value

pub fn map_value(x: f64, x_min: f64, x_max: f64, y_min: f64, y_max: f64) -> f64

Re-maps a number from one range to another.